home *** CD-ROM | disk | FTP | other *** search
/ Megaware 1 / Megaware Volume 1.iso / communic / mdmdoctr / modemd30.txt < prev    next >
Text File  |  1990-05-10  |  124KB  |  2,144 lines

  1.                __________________________________________________
  2.          
  3.                                      T H E 
  4.                                    M O D E M
  5.                                   D O C T O R
  6.          
  7.                                Version 3.0S /3.0R
  8.                          Hank Volpe Copyright 1989,1990
  9.                               108 Broadmoor Drive
  10.                                Tonawanda NY 14150
  11.                __________________________________________________
  12.          
  13.          
  14.          Section 1.
  15.          Forward ...................................................1
  16.          Introduction...............................................2 
  17.          Section 2. Starting MDR....................................3 
  18.          Section 3. First Time Setup................................4
  19.             A. Test Modem/UART......................................5
  20.             B. Uart Tests ......................................... 7
  21.             C. Return to main menu ................................ 8
  22.          Section 4. The Main Menu.................................. 8
  23.             4.01 Hot-Key Selection ................................ 9
  24.             4.1  Login In Comm ports ..............................10
  25.             4.11 What do IRQ's and Comm ports do?..................10
  26.             4.12 Port assignments and their meanings...............11
  27.             4.13 Testing Defective Ports...........................12
  28.             4.2  Regs .............................................13
  29.             4.3  Carrier Tests ....................................20
  30.             4.31 Modem Driver modules..............................20
  31.             4.32 Types of Carrier Tests............................21
  32.             4.33 AT Instruction Set tests..........................21
  33.             4.34 Uart or Dumb Modem Tests..........................22
  34.             4.35 Error Messages....................................23
  35.             4.4  Loopback Tests ...................................24
  36.             4.41 Loopback test Error Messages......................25
  37.             4.5  Manual ...........................................26
  38.             4.6  Setup Mode .......................................26
  39.             4.7  Exit Program .....................................26
  40.          Section 5.Error Messages and Their Meanings...............27
  41.             5.1 Log In errors .....................................27
  42.             5.2 Carrier Errors ....................................27
  43.             5.3 Loopback Errors ...................................29
  44.             5.4 Setup Errors ......................................30
  45.          Section 6. Special Modes and Information .................32
  46.             6.1 Using Modem Drivers ...............................32
  47.             6.2 Using the Command Line switch /s ..................34
  48.             6.3 Using the Hot-Keys ................................35
  49.             6.4 Logging in defective ports.........................36
  50.             6.5 What tests cannot do ..............................37
  51.             6.6 Quirks with some modems ...........................37
  52.          Section 7. Benefits of Registration ......................38
  53.            
  54.          The Modem Doctor Version 3.0 Documentation           Page 1
  55.          Copyright (c) Hank Volpe 1989,1990
  56.          
  57.          Forward
  58.          -------
  59.          
  60.          Welcome to the Modem Doctor. This documentation along with 
  61.          the program is a good source of information about how Uarts 
  62.          and Serial Ports work with Modems in your Personal Computer.
  63.          
  64.          There are two versions of the Modem Doctor; The Shareware 
  65.          version 3.0S and the Registered Version 3.0R. There are some 
  66.          differences between the two. Both however are full-
  67.          functioned diagnostics tools. The differences between the 
  68.          two are as follows;
  69.          
  70.          Version 3.0S supports COM1 through COM4 
  71.          Version 3.0R supports COM1 through COM8
  72.          
  73.          Version 3.0S supports speeds to 2400 bps
  74.          Version 3.0R supports speeds to 38,400 bps
  75.          
  76.          Version 3.0S does not include Manual Log-in of Comm ports,
  77.           the Digital or the Analog Loopback testing supported in  
  78.           Version 3.0R.
  79.          
  80.          This documentation covers both versions, however the feature 
  81.          differences above are provided for your reference.
  82.          
  83.          I sincerely hope that you take a good look at the program 
  84.          and the documentation. The Modem Doctor is about as complete 
  85.          a diagnostic tool you can find for your Serial Port and 
  86.          Modem. A complete Program History follows the documentation. 
  87.          The Modem Doctor Version 2.2 was received very well 
  88.          nationally and internationally, Version 3.0 now adds more 
  89.          tests, more user features and more flexibility for you to 
  90.          use. 
  91.          
  92.          Version 3.0S is Shareware and may be freely copied and 
  93.          distributed. You have a limited license to use Version 3.0S 
  94.          during a fair-evaluation period. After that time you must 
  95.          order the Modem Doctor in order to continue using it. Please 
  96.          be fair and make your decision based on what you see.
  97.          
  98.          Version 3.0R is a Registered Version with additional 
  99.          features and is licensed to one user only (unless you have a 
  100.          site license). No copies may be made (except for archival 
  101.          purposes) and you may not distribute Version 3.0R without 
  102.          violation of Copyright laws and you license to use the Modem 
  103.          Doctor.
  104.          
  105.          If you are using the Shareware version and wish to order, 
  106.          please use the Order form included with this package or see 
  107.          Section 7, Benefits of registration at the end of this 
  108.          documentation.
  109.          
  110.          The Modem Doctor Version 3.0 Documentation           Page 2
  111.          Copyright (c) Hank Volpe 1989,1990
  112.          
  113.          
  114.          Section 1. Introduction - 
  115.          ------------------------- 
  116.          The Modem Doctor is a professional diagnostic tool designed 
  117.          to work with IBM-PC's and compatibles. There are two 
  118.          versions of the Modem Doctor, the Shareware Version and the 
  119.          Registered Version. The Registered Version of the Modem 
  120.          Doctor contains complete diagnostics for 8250 and compatible 
  121.          UARTS, RS-232 data lines, and Carrier tests. Some of the 
  122.          many diagnostic features of the Registered Version are;      
  123.          
  124.          **  Support for COM 1 through COM 8 using system IRQ's 3,4,5
  125.              or 7
  126.          **  Baud Rates from 300 to 38400 bps  !! NEW !!      
  127.          **  Support for Courier HST/Dual Standard/V.32 Modems [+]
  128.          **  Auto-detection of Modems that use &T0 diagnostics      
  129.          **  Auto log-in of COMM ports 1 - 4 to DOS for use by other
  130.              programs
  131.          **  Manual log-in of up to 8 COMM ports for Non-Standard
  132.              Hardware,including those with defective Uarts (on manual
  133.              selection). !! NEW !!      
  134.          **  On-screen Display of all 8250 /16450/ 16550 Uart
  135.              registers
  136.          **  On-screen Display of Modem S-Registers
  137.          **  Full Diagnostic tests of UART and RS-232 Channels
  138.              including;
  139.                 -- ALL UART REGISTERS          
  140.                 -- ALL RS-232 Handshaking Signals           
  141.                 -- 8259 Interrupt Controller Mask Registers 
  142.                 -- Digital Loopback UART Tests including Chips
  143.                    with Tri-stated OUT2 signals 
  144.                 -- Analog Loopback Data Tests
  145.          **  Full Diagnostic Checks of "AT" Instruction Set
  146.              Modems;
  147.                 -- Carrier Tests on both Originate and Answer
  148.                    Frequencies
  149.                 -- Carrier Test interface for "Dumb" Modems or Data 
  150.                    Channels           
  151.                 -- Modem Microprocessor Command Channel Diagnostics
  152.                 -- Support for High Speed Modems           
  153.                 -- Support for Modems that use the alternate &T0 self
  154.                    test mode 
  155.           
  156.          The Modem Doctor Version 3.0 Documentation           Page 3
  157.          Copyright (c) Hank Volpe 1989,1990
  158.          
  159.          
  160.          **  Interactive Mode with 4K Communications Buffer for;    
  161.                 -- TTY mode Interactive Communications over serial 
  162.                    port or Modem while on-line
  163.                 -- Custom Designed Tests...Help Menu Included
  164.                 -- On-Line "Hot-key" Viewing of 8250 UART Registers
  165.          **  Hot-Keys for selecting the Baud rate and to Force a    
  166.              Modem Microprocessor test mode.  !! NEW !!      
  167.          **  User Selection of Modem Drivers. Like Printer Drivers,
  168.              these software modules add more selections and more test
  169.              capability to The Modem Doctor. !! NEW !!      
  170.          **  New Status Bar that continuously displays the Port,
  171.              Speed, Microprocessor Status, and Modem Driver
  172.              selections. !! NEW !!
  173.          **  Command Line Mode interface for setting up a modem to an
  174.              initialization string contained in a user created file;
  175.              !! NEW !!           
  176.                -- A Small text file contains the port (and optional
  177.                   address), the speed, and the string to send to the
  178.                   modem. Any text editor can create the file at any
  179.                   time!
  180.          
  181.          The Modem Doctor is copyrighted by Hank Volpe. The Shareware 
  182.          Version of this program may be distributed on Bulletin Board 
  183.          Systems or in Public Domain Libraries as long as a Fee is 
  184.          not charged for its duplication or acquisition (except for 
  185.          BBS systems that charge a user fee for system access).Under 
  186.          no conditions can anyone accept payment for the Modem      
  187.          Doctor but Hank Volpe or agents authorized for resale by 
  188.          Hank Volpe. The Modem Doctor is distributed on as "As-is" 
  189.          basis, with no warranties for usefulness or suitability 
  190.          expressed or implied. Users of the Shareware version are 
  191.          granted a limited license to use this program.         
  192.          
  193.          Section 2. Starting MDR     
  194.          ------------------------     
  195.          The Modem Doctor has been designed to work with PC-Type 
  196.          serial ports and "AT" Instruction Set (so called Hayes 
  197.          Compatible[++]) Modems. The Modem Doctor requires at least 1 
  198.          serial port to Operate. MDR is written to run under MS or PC 
  199.          DOS 2.2 or higher, requires a MDA or CGA adaptor and at 
  200.          least 90K of program memory. When MDR is started, it will 
  201.          use the last text mode that the display adaptor was in     
  202.          (Color or Black /White). MDA or CGA are the two execution 
  203.          modes regardless of what kind of adaptor is in use. 
  204.          
  205.          The Modem Doctor Version 3.0 Documentation           Page 4
  206.          Copyright (c) Hank Volpe 1989,1990
  207.          
  208.          Code has been included to work with hardware-incompatible 
  209.          display adapters as long as they are at least IBM-PC Bios 
  210.          compatible. This is operator selectable at runtime. To start 
  211.          MDR, type MDR from the dos prompt. If you wish to use the   
  212.          Bios compatible mode instead of direct display writes, start 
  213.          the program using the Bios switch ;   MDR /B 
  214.          
  215.          Registered Versions 3.0 and higher also can be run to 
  216.          quickly program and setup a Modem. To use this mode start 
  217.          the program with the setup switch ; MDR /S (see Section 3). 
  218.          
  219.          Section 3. First Time Setup     
  220.          ---------------------------     
  221.          MDR checks to see what hardware is available and reports its 
  222.          results to you. Displayed on the bottom line is the serial 
  223.          number unique to each copy Press any key to continue.     
  224.          
  225.                                 -[  ports  ]-- |
  226.                                |  Use COMM 1   | 
  227.                                |  Use COMM 2   |
  228.                                |  Use COMM 3   |
  229.                                |  Use COMM 4   |
  230.                                 ---------------      
  231.          
  232.          Next, you are instructed to pick from a list of valid Comm 
  233.          ports. The only ports that are listed are valid ports that 
  234.          MDR found when it first started. The Registered Version 
  235.          allows you to add ports that are not "standard" ports, 
  236.          (check the section on Login). Use the arrow keys to find 
  237.          your selection, and then press return to select.
  238.          
  239.          
  240.                                  -[  Baud  ]--
  241.                                  |   300 BPS |
  242.                                  |  1200 BPS |
  243.                                  |  2400 BPS |   *
  244.                                  |  4800 BPS |   *
  245.                                  |  9600 BPS |   *
  246.                                  | 19200 BPS |   * 
  247.                                  | 38400 BPS |   *
  248.                                  -------------
  249.                            *=Registered Versions Only
  250.          A window now opens showing you valid Comm port speeds. 
  251.          Select a speed from this menu. Please note, don't select a 
  252.          speed faster than your modem can handle. The reason for 
  253.          faster speeds is so communication links can also be tested. 
  254.          Use the arrow keys and press return to make your selection.
  255.          
  256.                      -[  Select an Option  ]--------------
  257.                      | Test Modem / port 1 to 300 BPS     |
  258.                      | Test the UART Hardware Only        |
  259.                      | Don't set up modem, return to Menu |
  260.                      ------------------------------------- 
  261.          
  262.          The Modem Doctor Version 3.0 Documentation           Page 5
  263.          Copyright (c) Hank Volpe 1989,1990
  264.          
  265.          At this point you are in the options menu. If you select 
  266.          Test Modem, a series of commands and tests will be performed 
  267.          to make sure the modem is on line and running. If you select 
  268.          Test UART Hardware, only the 8250 UART will be tested. The 
  269.          modem will not be setup. This selection is useful only if 
  270.          you wish to test an RS-232 line or a "dumb" modem.     
  271.          
  272.          Selection 3 aborts to the main menu. (NOTE: Version 3.0 
  273.          includes new "HOT-KEYS" to force the Modem Doctor to believe 
  274.          you are using a Modem with a Microprocessor and for changing 
  275.          the baud rate. Read Section 4 on the menu system for more   
  276.          details).       
  277.          
  278.          
  279.          A. Test Modem/ UART     
  280.          ---------------------
  281.                     Preliminary Diagnostic Checks of Hardware 
  282.                    ----------------------------------------- 
  283.                        A 16550AN Uart has been detected  
  284.                           Testing Modem Microprocessor
  285.                          ---------------------------- 
  286.                    Modem Microprocessor Command Bus Active  
  287.                    Modem reports a 9600 bps Modem installed 
  288.                  Modem Microprocessor Accepts Setup Commands  
  289.                          Modem Microprocessor ON-LINE  
  290.                       Modem - UART Status appears correct 
  291.                        Press any key to continue        
  292.          
  293.          
  294.          Above is displayed then normal test results with a modem.  
  295.          First step tests the UART to Modem hardware. If any 
  296.          connection errors are discovered, they are reported to the 
  297.          screen. If no errors are detected, the Modem Doctor will 
  298.          check to see what type of Uart is installed. There are 
  299.          differences between the different types of Uarts, and the   
  300.          Modem Doctor uses this test to determine how to test the 
  301.          Uart and what registers to display to the screen. Next, the 
  302.          the modem command bus is tested and if its compatible, the 
  303.          modem ID information is  queried from the Modem Processor. 
  304.          Finally, the modem is setup for diagnostics. Note: These 
  305.          setup strings do not overwrite any non-volatile storage. If 
  306.          all is ok, all the UART registers and the First 16 Modem S 
  307.          registers are displayed. This display is not shown the next 
  308.          time you log in a Comm port unless you press the space bar.  
  309.          If the modem does not respond to certain parts of the tests, 
  310.          error messages are reported. 
  311.           
  312.          The Modem Doctor Version 3.0 Documentation           Page 6
  313.          Copyright (c) Hank Volpe 1989,1990
  314.          
  315.                           Testing Modem Microprocessor
  316.                          ---------------------------- 
  317.                 Modem Microprocessor Command Mode Not Detected 
  318.                          Software Reset Initiated      
  319.          
  320.          This message is displayed if the modem did not respond the 
  321.          first time for a query to its status. This could happen for 
  322.          any number of reasons, including that the modem was still on-
  323.          line and not in the command mode. A soft-reset is performed, 
  324.          which essentially tries to wake the processor up.  
  325.          
  326.          
  327.            No Response...resetting Modem Microprocessor ...attempt #1
  328.            No Response...resetting Modem Microprocessor ...attempt #2
  329.            No Response...resetting Modem Microprocessor ...attempt #3
  330.          
  331.          After 3 soft-resets, the Modem Doctor assumes that the modem 
  332.          is jammed and needs a hardware reset. A hardware reset is 
  333.          the program equivalent of turning the modem on and off 
  334.          again. This is the only way to reset some internal modems 
  335.          that get "jammed" when the computer is first turned on. 
  336.          Clearing a "jam" usually takes no more than 2 attempts.   
  337.          
  338.               Trying a Hardware reset of the Modem Microprocessor
  339.          
  340.          The Hardware reset is performed, and again the modem 
  341.          microprocessor is strobed for its status.  
  342.          
  343.                             Software Reset Initiated
  344.          
  345.          After a hardware reset, a soft reset is performed again, 
  346.          attempting to wake the processor up. If this fails, the 
  347.          following message is displayed;  
  348.          
  349.               Modem Microprocessor Did Not Accept Setup Commands 
  350.               Trying a Hardware reset of the Modem Microprocessor
  351.          
  352.          After one more attempt at waking the modem up, the Modem 
  353.          Doctor assumes that the modem is not compatible  and based 
  354.          on the status given it by the UART, it will report if the 
  355.          device is off or not connected.  
  356.          
  357.           WARNING..This unit does not have a Compatible Modem attached
  358.          
  359.           WARNING..The Modem Device appears to be off or not connected
  360.          
  361.          The registers are now displayed for diagnostic tests, and a 
  362.          conclusion based on the status of the registers is 
  363.          displayed. There are many reasons why the modem/UART could 
  364.          fail. See the error code section for details. If the UART is 
  365.          fine, but the modem is not compatible, the program will     
  366.          tell you that the UART hardware tests ok and display this in 
  367.          a window to the right of the register display. 
  368.          
  369.          The Modem Doctor Version 3.0 Documentation           Page 7
  370.          Copyright (c) Hank Volpe 1989,1990
  371.          
  372.          Note: The reason for testing the Modem command set so 
  373.          extensively is so there can be no doubt about the Modem 
  374.          accepting commands. You can force The Modem Doctor to 
  375.          believe it has a Modem with a Compatible Microprocessor by 
  376.          using the "HOT-KEY ALT-F". See Section 4 about Menu     
  377.          system commands.
  378.          
  379.          B. UART Tests     
  380.          ---------------     
  381.          The UART test is performed every time either the Modem or 
  382.          the UART test is selected. Essentially, the UART test 
  383.          programs all of the registers of the UART and looks to see 
  384.          that the correct values have been placed in them. If any one 
  385.          of the registers fails to set, the Modem Doctor will display 
  386.          all of the registers and a diagnostic message. After that,  
  387.          it looks to see that an RS-232 loop is active. If not, it 
  388.          displays an error message saying that the loop is either 
  389.          disconnected or a register in the UART is defective. If all 
  390.          checks well, the type of Uart chip that is installed is 
  391.          returned. The type of Uart chip is important for the way the 
  392.          Modem Doctor will test and display the Uart. Essentially 
  393.          there are 3 types it can detect;      
  394.          
  395.          8250-B
  396.          This is the original Uart installed in many PC's and Serial 
  397.          Port add-on cards.      
  398.          
  399.          16450/8250-A
  400.          This is an upgraded Uart that fixes a bug in the interrupt  
  401.          enable register of the 8250-B and also tri-stated the OUT2  
  402.          pin of the chip during loopbacks. It also adds a scratch-pad 
  403.          register as the highest register. This register is tested   
  404.          by the Modem Doctor but not displayed because it never has  
  405.          what you would consider as a "correct" setting. The 16450 is 
  406.          used primarily in 80286 (AT) systems because of its increase 
  407.          in throughput over the 8250-B 
  408.          
  409.          16550 
  410.          This chip is essentially a faster 16450. However, it cannot 
  411.          be used in a FIFO buffering mode, but it does allow for a   
  412.          programmer to use multiple DMA channels and thus increase    
  413.          throughput on an AT or higher class computer system.      
  414.          
  415.          16550AN
  416.          This chip is a faster 16450 with a built in Transmit and    
  417.          Receive FIFO buffer. It also allows multiple DMA channel    
  418.          access. You should see this chip in your 80386 or RISC      
  419.          type machine. You should also consider installing this      
  420.          chip if you do any serious communications at 9600 bps       
  421.          or higher. Whenever a 16450,16550 or 16550AN is displayed, 
  422.          different diagnostics and/or different register mnemonics 
  423.          are displayed. The 16550AN's ability to enable and disable 
  424.          
  425.          The Modem Doctor Version 3.0 Documentation           Page 8
  426.          Copyright (c) Hank Volpe 1989,1990
  427.          
  428.          FIFO mode is also tested. In any case and with any Uart, 
  429.          each register is checked for proper values. If anyone of 
  430.          them fail, a window will open and display a possible      
  431.          cause for the problem. 
  432.          
  433.                    Preliminary Diagnostic Checks of Hardware 
  434.                    ----------------------------------------- 
  435.                           Testing UART Hardware Only  
  436.                           -------------------------- 
  437.                         A 8250-B Uart has been detected 
  438.                       Modem - UART Status appears correct
  439.          
  440.          The first time through these tests, the registers will 
  441.          display for diagnostics. Unlike the modem tests, only the 
  442.          UART registers are displayed. From then on, if the test 
  443.          results are correct, you will be prompted if you wish to 
  444.          have the registers displayed. If a test fails at any time, 
  445.          you will always see the registers displayed along with an 
  446.          appropriate diagnostic message.        
  447.          
  448.          C. Return to main menu     
  449.          ----------------------     
  450.          Selecting this returns you to the main menu, this allows you 
  451.          to change an entry made in error without having to wait for 
  452.          the diagnostic checks to fail. In any event, after any of 
  453.          these tests have been run, you will then enter the Modem 
  454.          Doctor's Main Menu.
  455.          
  456.          
  457.          Section 4. The Main Menu     
  458.          ----------------------------      
  459.          -------------------------- The Modem Doctor -----------------
  460.          |Log-in Regs  Carrier  Loopback  Manual  Setup  End Program|
  461.          -------------------------------------------------------------
  462.          
  463.          
  464.          All of the above selections are toggled using the arrow keys 
  465.          and selected using the return key. Pressing the down arrow 
  466.          displays a brief message about what each function does. 
  467.          
  468.                                Log-in COMM ports
  469.                                ------------------
  470.                 The ROM-BIOS only looks for COMM ports 1 and 2.
  471.                 Use this section to manually log-in a COMM port
  472.                 that cannot be detected by DOS. Entries are also 
  473.                 good after you quit
  474.          
  475.                            UART Register Diagnostics
  476.                            -------------------------
  477.                 This test section can be used to check the
  478.                 contents of an 8250 UART and the 8259 Interrupt
  479.                 Controller mask register. 
  480.                 White = Active, Gray = Not Active  
  481.          
  482.          The Modem Doctor Version 3.0 Documentation           Page 9
  483.          Copyright (c) Hank Volpe 1989,1990
  484.          
  485.                                Carrier Mode Tests
  486.                                ------------------
  487.                 This tests runs a AT Instruction Set modem in an
  488.                 test of the Carrier Originate and Answer frequencies.
  489.                 An AT Instruction Set Modem or a modem with Manual
  490.                 Carrier selection is required                     
  491.          
  492.                               Loopback/ UART Tests
  493.                                ------------------
  494.                 This test is designed to check out a RS-232 COMM
  495.                 port for proper operation. No Modem is required for
  496.                 this test however this test is not for an Internal
  497.                 Modem, although it can be run as a test of the
  498.                 command channel.
  499.          
  500.                             Manual Interactive Tests
  501.                            -------------------------
  502.                 This test is designed to check out the command
  503.                 channels and user interface to a AT Instruction Set
  504.                 Modem. You can also use it with an RS-232 loop or to
  505.                 send your own commands.
  506.          
  507.                                Setup  Diagnostics
  508.                            -------------------------
  509.                 Use this test section to return to the setup mode
  510.                 to change a port assignment or a Baud Rate to a new
  511.                 value. Only Logged-in Comm ports can be accessed.
  512.          
  513.                                   Exit Program
  514.                                  -------------
  515.                 Quit the program, all vectors and interrupt
  516.                 tables are restored.       
  517.          
  518.          
  519.          4.01 Hot-Key selection 
  520.          ----------------------  
  521.          In addition to these menu selections, there are two Hot-Keys 
  522.          that are active at nearly all times in the Modem Doctor. The 
  523.          ALT-B combination can be used to change the baud rate from 
  524.          the main menu and from inside the Manual test section. A 
  525.          window will pop-up and you can pick your desired serial port 
  526.          speed. This can save a lot of time when you wish to test a 
  527.          modem at various speeds. Using the Setup / Test Modem & Uart 
  528.          mode is the safest way (because it verifies the modem 
  529.          microprocessor accepts commands properly at the selected 
  530.          speed), however if you use the ALT-B command, you will take 
  531.          a short-cut that can help you when testing your modem. 
  532.          
  533.          
  534.          The Modem Doctor Version 3.0 Documentation           Page 10
  535.          Copyright (c) Hank Volpe 1989,1990
  536.          
  537.          The other Hot-Key active from the main menu is ALT-F, or 
  538.          FORCE Micro on-line. Actually, there is no "force" involved. 
  539.          By pressing this key,you force the Modem Doctor to believe 
  540.          there is a AT Instruction set compatible modem attached. 
  541.          This can be handy for troubleshooting a modem that doesn't 
  542.          work properly at certain speeds or under certain conditions. 
  543.          The Setup Test Modem & Uart section will not allow any AT 
  544.          Instruction set Carrier tests on modems that it cannot 
  545.          properly setup. The ALT-F combination bypasses this and 
  546.          allows such testing. When you press ALT-F, you will notice 
  547.          the Status Bar will say that a modem microprocessor is on-
  548.          line.              
  549.          
  550.          4.1 Login In Comm ports     
  551.          -----------------------     
  552.          When you select this menu, you are offered these choices
  553.                        --[ Comm port Login  ]-----------
  554.                        | Let me Auto Detect COMM ports  |
  555.                        | You Manually Enter COMM ports  |
  556.                        |      Return To Main Menu       |
  557.                        --------------------------------- 
  558.          Option 1 repeats what the Modem Doctor does when you first 
  559.          begin to run the program. Option 2 allows you to enter a 
  560.          "non" standard port address and assign one of the two 
  561.          Interrupt lines to use with the UART. Option 3 returns to 
  562.          the main menu.      
  563.          
  564.          4.11 What do IRQ's and COMM Ports do ? 
  565.          ---------------------------------------      
  566.          Each time a character is received by a modem, it has to get 
  567.          the attention of the computer by raising an Interrupt 
  568.          Request Line (IRQ). PC type computers have 8 of these lines, 
  569.          AT type computers have at least 16. The 8259 Interrupt 
  570.          controller chip handles these requests for attention. By 
  571.          design, COM1 uses IRQ4 and COM2 uses IRQ3. IRQ7 is     
  572.          assigned to a printer, IRQ5 to the Hard Drives. It is 
  573.          possible to use COM1 and COM2 or COM3 and COM4 at the same 
  574.          time, but you cannot use COM1 and COM3 or COM2 and COM4 at 
  575.          the same time because these share IRQ lines. If you needed 
  576.          to use 3 or more COMM ports at the same time, you would need 
  577.          to use another IRQ line. The best bets are IRQ7 and IRQ5, 
  578.          because they may be available when you need them. IRQ7 is 
  579.          really only needed by programs that use printer interrupts 
  580.          (background type spoolers for example). IRQ5 is used by 
  581.          fixed disks. It may or may not cause a conflict if you use 
  582.          this IRQ line with your modem. PC type computers are quite 
  583.          limited because they only have 8 IRQ lines and most are 
  584.          reserved. AT type computers have 16 IRQ lines. A good tip 
  585.          would be to consult your Hardware manual to find out if you 
  586.          can or can't use these other IRQ's. However, if you do not 
  587.          need to use 3 or more COMM ports at one time, then it is 
  588.          best to stick to the reserved IRQ4 and IRQ3 for all of your 
  589.          activity. 
  590.          
  591.          The Modem Doctor Version 3.0 Documentation           Page 11
  592.          Copyright (c) Hank Volpe 1989,1990
  593.          
  594.          4.12 Port assignments and their meaning 
  595.          ---------------------------------------  
  596.          Like IRQ lines, certain Port addresses were reserved to work 
  597.          with the PC's external hardware devices. Two of these were 
  598.          reserved by all manufacturers; 3F8 (HEX) and 2F8 (HEX). 
  599.          Although only two COMM ports were supported by the original 
  600.          ROM-BIOS, there are two additional port memory locations 
  601.          available for use by MS-DOS and PC-DOS applications. These 
  602.          reserved Port addresses are 3E8 (HEX) and 2E8 (HEX). Most 
  603.          internal modems come with these 4 ports as selections along 
  604.          with several IRQ line combinations.  There is a "quirk" in 
  605.          the way that the ROM-BIOS logs in these ports. If the Power 
  606.          on self-tests (POST) do not find a 3F8 serial port but they 
  607.          do find a 2F8, then the 2F8 serial port is mistakenly 
  608.          assigned to COM1. To add to this, the reserved IRQ line for 
  609.          COM1 is IRQ4. But this serial Port of 2F8 is using COM2's 
  610.          address, which means it needs IRQ3 instead of IRQ4. So, if 
  611.          you are trying to use Basic, Pascal, or DOS for COM1 
  612.          operations, the serial port or modem will not be able to 
  613.          work. The general rule thus is "No COM1 without COM2". The 
  614.          Modem Doctor when it is run will correct this login problem 
  615.          and correctly assign COM2's port address to COM2, and it 
  616.          will also leave the ROM-BIOS logged in COM1 (actually COM2 
  617.          again) at COM1. People who have such setups will see the 
  618.          Modem Doctor state there are two COMM ports, but actually, 
  619.          there are two different assignments for the same port.      
  620.          These addresses for PC's are standardized in order for 
  621.          Communication programs to properly work. As stated above, 
  622.          the industry standards are;      
  623.          
  624.          COMM 1  3F8   COMM 2  2F8    COMM 3  3E8    COMM 4 2E8
  625.          IRQ4          IRQ3           IRQ4           IRQ3      
  626.          
  627.          COMM 5  3F8   COMM 6  2F8    COMM 7  3E8    COMM 8  2E8
  628.          IRQ7          IRQ7           IRQ5           IRQ5      
  629.          
  630.          
  631.          The port addresses for serial ports (1-4) are held in a 
  632.          reserved area of Memory. The "base port" of each of these 
  633.          UARTS is saved in a distinct area. When you first start the 
  634.          Modem Doctor, the program checks these locations to see if 
  635.          there are any Comm ports already logged in by Dos. If not, a 
  636.          search is conducted for the PC's default Comm 1 and Comm 2   
  637.          port values and these are logged in. Next, a search is 
  638.          performed for the other industry standard Comm ports. Some 
  639.          PC's already log these in, however IBM-PC's and those that 
  640.          mimic exactly their ROM-BIOS routines do not log in a COMM 3 
  641.          or a COMM 4. The Modem doctor will, and as a side benefit, 
  642.          these stay logged in until the next warm or cold boot is 
  643.          performed on your computer. Why would dos not log in a     
  644.          port? Well, some multi-tasking programs overwrite this area 
  645.          to prevent "swapping" of communication programs and it is 
  646.          
  647.          The Modem Doctor Version 3.0 Documentation           Page 12
  648.          Copyright (c) Hank Volpe 1989,1990
  649.          
  650.          possible that they might not be properly restored on exit. 
  651.          Next, a search is made for the Custom Comm ports 5-8. These 
  652.          ports are not held in DOS at all, but are held in program 
  653.          memory by the Modem Doctor after a user logs the port in 
  654.          using the Manual log in mode (see below). If one of these 
  655.          Ports is found, it will be added to the Comm Port option     
  656.          menu for you to use when you test the Modem.  The reason for 
  657.          the custom ports is to help users who are using non-standard 
  658.          interrupt lines (IRQ7,IRQ5). Unlike the DOS logged-in ports, 
  659.          these assignments disappear when the Modem Doctor is exited. 
  660.          The Modem Doctor follows the accepted arraignment of these 
  661.          Comm Port /IRQ line pairings. However, you do have full 
  662.          control at all times over all Port addresses and IRQ 
  663.          assignments and can change them using the Manual Login Mode. 
  664.          As far as the 2 Options presented by the Login Mode, option 
  665.          2 is the only  real option available. Please use it with 
  666.          caution. The only real need for this option is for logging 
  667.          in a COMM port that does not use any of the listed industry 
  668.          standards as its base port address or IRQ line assignments. 
  669.          Consult your serial port or Modem's user manual to make sure 
  670.          you enter the exact port address and select the correct 
  671.          Interrupt line to use with it. Otherwise the Modem Doctor 
  672.          will not recognize or be able to test any device hooked to 
  673.          this port. Protection is included in this routine to keep 
  674.          someone from accidentally entering a port that is used by 
  675.          the system board, display adaptors, or fixed disk adaptor. 
  676.          Entering any of these values, or an error, will result in 
  677.          the display;
  678.                  "WARNING...RESERVED port...RETRY ENTRY"      
  679.          After running Option 1 or 2 , you must tell the Modem Doctor 
  680.          which COMM port you wish to use so that testing can begin. 
  681.          Pressing the ESCAPE key is the same as Option # 3 and 
  682.          returns you to the main menu.              
  683.          
  684.          4.13 Testing defective Ports 
  685.          ----------------------------  
  686.          Whenever the Modem Doctor checks to see if a port is working 
  687.          properly,  it checks the status of several registers. If a 
  688.          Uart Chip appears "dead", the Modem Doctor will tell you 
  689.          that the port was not "found". Previous versions of the 
  690.          Modem Doctor would not allow a defective serial port to be 
  691.          logged in for testing. Now you can use the Manual mode and 
  692.          override this setting.  If you tell the Modem Doctor for 
  693.          example to use serial Port 2F8 as COM2  and you do not have 
  694.          a COM2, the message "COM2 not Found" will be returned with 
  695.          an option "Override [Y/N] ?". Answering "Y" will force the 
  696.          login of this port.  Certainly there is no benefit to 
  697.          testing a non-existent port, but a port that is defective 
  698.          may not be logged-in. So, you now have the option to test 
  699.          this defective port hardware to pinpoint a problem. Combined 
  700.          with the register display and diagnostics, you will most 
  701.          likely be able to pin-point any Uart problem quickly and 
  702.          easily. 
  703.          
  704.          The Modem Doctor Version 3.0 Documentation           Page 13
  705.          Copyright (c) Hank Volpe 1989,1990
  706.          
  707.          4.2 Regs     
  708.          -------------      
  709.          The register display section can be an invaluable diagnostic 
  710.          tool. What this does is "poll" all of the status registers 
  711.          of the UART, and the Interrupt Controller to tell you 
  712.          exactly what is going on.  When you use the setup mode, the 
  713.          Modem Doctor checks all of these registers for correct 
  714.          information. If something wrong is discovered, a warning     
  715.          is displayed on the screen telling you what the Modem Doctor 
  716.          believes is wrong. Many different error conditions are 
  717.          checked, see the error code section for a listing. Each 
  718.          register contains a Mnemonic for each one of the data bits. 
  719.          Bits that are a logic low ( = 0) are displayed in low 
  720.          intensity, those that are a logic high (= 1) are displayed 
  721.          in high intensity. On a color monitor, this is easy to see. 
  722.          On a Mono Monitor, make sure you have the brightness and 
  723.          contrast controls properly adjusted to see the difference 
  724.          between the two status conditions.        
  725.          
  726.          -[ Line Control Register ]----------      
  727.          |  DLB STB STP EPS PEN STB WS1 WS0  |     
  728.          ------------------------------------      
  729.          This register controls many of the setup characteristics of 
  730.          your UART  and how it behaves to your PC. This register is 
  731.          responsible for setting baud rate, setting break code 
  732.          transmission, parity, and the length of the serial stream 
  733.          word. When you enter the setup mode,
  734.          
  735.          DLB    Divisor Latch          Used to access the baud rate
  736.                                        registers. Should be 0 for
  737.                                        the Modem Doctor      
  738.          
  739.          STB    Set Break              If High, the modem transmits a
  740.                                        break signal, should be 0
  741.                                        normally.      
  742.          STP    Stick Parity           Should be 0 normally    
  743.          EPS    Even Parity select     High = Even Parity..should be
  744.                                        0 normally     
  745.          PEN    Parity Enable          Enable Parity checks, should
  746.                                        be 0 normally 
  747.          STB    Stop Bits              Number of stop Bits, should be
  748.                                        0 normally to Indicate 1 stop
  749.                                        bit character only.
  750.          WS1    Word Length Select 1     
  751.          WS0    Word Length Select 0   These two bits are used to
  752.                                        determine the  serial data
  753.                                        word length. Both should
  754.                                        be High normally to indicate a
  755.                                        length of   8 bits.
  756.          
  757.          The Modem Doctor Version 3.0 Documentation           Page 14
  758.          Copyright (c) Hank Volpe 1989,1990
  759.          
  760.          -[ Line Status Register ]----------- 
  761.          |      TSE THE BI  FE  PE  OE  DR   |      
  762.          ___________________________________      
  763.          
  764.          The line status register reports error conditions that might 
  765.          have occurred between the PC and the UART.      
  766.          
  767.          TSE    TX Shift Register      A High indicates that all
  768.                                        characters  Empty  sent to the
  769.                                        UART were transmitted.  Should
  770.                                        be High Normally.      
  771.          THE    TX Holding Register    A High indicates that the UART
  772.                                        can now  Empty accept a new
  773.                                        character from the PC.
  774.                                        Should be High Normally. 
  775.          BI     Break Interrupt        A High indicates that a break
  776.                                        signal  was received. Should
  777.                                        be Low Normally      
  778.          FE     Framing Error          A High indicates that a serial
  779.                                        data  train did not have a
  780.                                        proper stop bit. Should be Low
  781.                                        Normally.   
  782.          PE     Parity Error           A High indicates that the
  783.                                        received serial data's parity
  784.                                        did not match what the UART
  785.                                        was programmed to receive.
  786.                                        Should be Low Normally.     
  787.          OE     Overrun Error          A High indicates that a      
  788.                                        character in the receive
  789.                                        buffer was not read by
  790.                                        the  PC in time, and another
  791.                                        character  overwrote and
  792.                                        destroyed it. Should
  793.                                        be Low Normally. 
  794.          DR     Data Ready             A High indicates that a 
  795.                                        character has been received
  796.                                        and is ready to be read
  797.                                        by  the PC from the Receiver
  798.                                        Buffer. Should  be Low
  799.                                        normally for these test, but
  800.                                        can vary while data is coming
  801.                                        in from the  Modem. 
  802.          
  803.          The Modem Doctor Version 3.0 Documentation           Page 15
  804.          Copyright (c) Hank Volpe 1989,1990
  805.          
  806.           -[ Modem Control Register ]---------
  807.          |              LP  OT2 OT1 RTS DTR  |     
  808.          ------------------------------------       
  809.          
  810.          The Modem Control register handles all of the interfacing 
  811.          between the     UART and the modem. Only 5 signals are 
  812.          needed to handle this      
  813.          
  814.          LP     LOOP                   A High indicates that the
  815.                                        Loopback  digital diagnostic
  816.                                        has been activated. This
  817.                                        feature only works with 8250
  818.                                        UARTS  or those that are 100%
  819.                                        Compatible. This is used in
  820.                                        the Digital Loopback test. 
  821.          OT2    OUT 2                  A High enables the UART to
  822.                                        generate  interrupts. A Low
  823.                                        disables interrupts. This
  824.                                        should always be high for
  825.                                        testing purposes.      
  826.          OT1    OUT 1                  On 100% compatible modems, a
  827.                                        High on this pin will perform
  828.                                        a Hardware reset of the modem
  829.                                        in some compatible designs.
  830.                                        Normally this is a Low.     
  831.          RTS    Request to Send        A Handshaking signal that is
  832.                                        used by some modems to enable
  833.                                        data transfer between the
  834.                                        Modem and the UART. Should be
  835.                                        High for testing purposes.
  836.          DTR    Data Terminal Ready    A Handshaking signal that is
  837.                                        used by some modems to enable
  838.                                        data transfer between the
  839.                                        Modem and the UART. Should  
  840.                                        be High for testing purposes.
  841.          
  842.          The Modem Doctor Version 3.0 Documentation           Page 16
  843.          Copyright (c) Hank Volpe 1989,1990
  844.          
  845.           -[ Modem Status Register ]----------      
  846.          |  RLS RI  DSR CTS DRD TER DDR DCS  |     
  847.          ------------------------------------      
  848.          The Modem Status Register returns the status of the control 
  849.          signals sent by the modem to the UART.      
  850.          
  851.          RLS    Received Line Detect   A High indicates that a
  852.                                        carrier has been received by
  853.                                        the modem. When the Analog
  854.                                        tests are run, this should
  855.                                        be High. If it is not, it is
  856.                                        still possible that the Modem
  857.                                        is ok, however the cable from
  858.                                        the Modem to the UART (for   
  859.                                        externals only) might not have
  860.                                        a complete circuit due to
  861.                                        faulty wiring of the RS-232
  862.                                        cable. This signal is very
  863.                                        important for some 
  864.                                        communications  programs to
  865.                                        operate properly.      
  866.          RI     Ring Indicator         A High indicates that the
  867.                                        modem detected  a Ringing
  868.                                        signal on the phone line. 
  869.          DSR    Data Set Ready         This is part of the DTR/DSR
  870.                                        Handshaking pair that is used
  871.                                        by some modems to control
  872.                                        the flow of data. Should
  873.                                        normally be a High. 
  874.          CTS    Clear to Send          This is part of the RTS/CTS 
  875.                                        Handshaking pair that is used
  876.                                        by some modems to  control the
  877.                                        flow of data. Should normally
  878.                                        be a High.
  879.          DRD    Delta Received         
  880.                 Line Signal Detect     A High indicates that the
  881.                                        Received Line Signal has
  882.                                        changed state.
  883.                                        Some Communications programs
  884.                                        use this also as  an
  885.                                        indication that a Carrier
  886.                                        was detected by the modem. 
  887.          TER    Trailing Edge            
  888.                 Indicator              A High indicates that the Ring
  889.                                        Indicator changed state. Some
  890.                                        Communications  programs use
  891.                                        this as an indication that 
  892.                                        the phone as Rung.      
  893.          DDR    Delta Data Set Ready   Indicates that the DSR signal
  894.                                        has changed state.      
  895.          DCS    Delta Clear to Send    Indicates that the CTS signal
  896.                                        has changed state. 
  897.          
  898.          The Modem Doctor Version 3.0 Documentation           Page 17
  899.          Copyright (c) Hank Volpe 1989,1990
  900.          
  901.          If a 8250-B / 16450 or 8250A Uart was detected, the 
  902.          following is displayed      
  903.          
  904.          -[ Interrupt ID Register ]----------
  905.          |                      ID1 ID0 ITP  |     
  906.          ------------------------------------       
  907.          
  908.          The Interrupt ID Register is used to tell the CPU what kind 
  909.          of     interrupt occurred.      
  910.          ID0    Interrupt Bit 2     
  911.          ID1    Interrupt Bit 1        These two signals are a binary
  912.                                        code which can be read by the
  913.                                        CPU to tell what kind of
  914.                                        interrupt occurred. Both Bits
  915.                                        high indicates an error
  916.                                        occurred or  a Break Interrupt
  917.                                        was received.  Bit 2 high and
  918.                                        Bit 1 low indicates that data
  919.                                        is ready to be read by the
  920.                                        CPU. Bit 1 High and Bit 2 low
  921.                                        indicates that a Ring signal
  922.                                        or Carrier signal was  
  923.                                        received. For testing
  924.                                        purposes, only the Data ready
  925.                                        mode is used. 
  926.          ITP    Interrupt Pending      A Low indicates that an 
  927.                                        interrupt has occurred. For
  928.                                        testing purposes, this  
  929.                                        should always be high if data
  930.                                        was successfully read by the
  931.                                        Modem Doctor. If it is not,
  932.                                        then an interrupt did occur 
  933.                                        but the CPU did not respond.
  934.                                        Suspect a problem with an
  935.                                        interrupt Controller Chip or
  936.                                        the UART interrupt generating 
  937.                                        capability. If a 16550 or
  938.                                        16550AN chip was detected, the
  939.                                        register selection uses  the
  940.                                        enhanced register display      
  941.          
  942.          
  943.          The Modem Doctor Version 3.0 Documentation           Page 18
  944.          Copyright (c) Hank Volpe 1989,1990
  945.          
  946.          -[ Interrupt ID Register ]----------
  947.          | FEM FEL          ID2 ID1 ID0 ITP  |     
  948.          ------------------------------------   
  949.          FEM   FIFO Enable MSB         This is the Most significant
  950.                                        Bit of the FIFO Register. It
  951.                                        should be high on both the
  952.                                        16550 and 16550AN if the FIFO 
  953.                                        Buffering is enabled. Normal 
  954.                                        Modem Doctor status shows this
  955.                                        as a Logic Low (unless testing
  956.                                        is performed).  
  957.          FEL   FIFO Enable LSB         This is the Least significant
  958.                                        Bit of the FIFO Register. It
  959.                                        should be a high on the
  960.                                        16550AN only! The 16550 always
  961.                                        displays this bit low. Again,
  962.                                        the normal Modem Doctor status
  963.                                        will show this as a Logic Low
  964.                                        (unless testing is performed).
  965.          ID2   FIFO Timeout            This signal is raise high by a
  966.                                        16550AN to indicate that it is
  967.                                        holding characters for the CPU
  968.                                        to read, but it is less than 
  969.                                        what the CPU has requested to
  970.                                        be interrupted for. The FIFO
  971.                                        buffer can be as deep as 14
  972.                                        characters. If only 8 have
  973.                                        come in, the CPU will not be
  974.                                        interrupted. The 16550AN is
  975.                                        programmed to interrupt after 
  976.                                        a period of time has gone by
  977.                                        during which no characters
  978.                                        were received in order to 
  979.                                        force the CPU to get what it
  980.                                        is currently storing. Normal
  981.                                        operation should keep this
  982.                                        line low, if it is high at any
  983.                                        time there is a problem with
  984.                                        the UART.  
  985.          
  986.          The Modem Doctor Version 3.0 Documentation           Page 19
  987.          Copyright (c) Hank Volpe 1989,1990
  988.          
  989.          -[ Interrupt Enable Register ]------      
  990.          |                  ESI ELI ETI ERI  |     
  991.          ------------------------------------      
  992.          
  993.          The Interrupt Enable register is programmed to allow certain 
  994.          types of     interrupts to occur.      
  995.          ESI    Enable Status          A High causes the UART to
  996.                                        generate an Interrupt whenever
  997.                                        RI or RSD signals in the Modem
  998.                                        Status register go high.
  999.                                        Should be low for testing.
  1000.          ELI    Enable Line            A High causes the UART to
  1001.                                        generate an  Interrupt
  1002.                                        whenever an error or break 
  1003.                                        interrupt is detected in the
  1004.                                        Line Status Register. Should
  1005.                                        be low for testing.
  1006.          ETI    Enable Transmitter     A High causes the UART to
  1007.                                        generate a Holding Register
  1008.                                        interrupt whenever the THE
  1009.                                        signal of the Empty Interrupt
  1010.                                        Line Status register goes
  1011.                                        High. Should be low for
  1012.                                        testing.         
  1013.          ERI    Enable Receive Data    A High causes the UART to
  1014.                                        generate an Ready Interrupt
  1015.                                        whenever Data is ready to
  1016.                                        be read by the CPU. The DR
  1017.                                        line of the Line Status 
  1018.                                        register going to a high
  1019.                                        state generates this        
  1020.                                        condition. This signal should
  1021.                                        be High for testing purposes,
  1022.                                        since it is the only
  1023.                                        interrupt  needed by the Modem
  1024.                                        Doctor.  
  1025.          -[ Interrupt Mask Register ]--------      
  1026.          |  IQ7 IQ6 IQ5 IQ4 IQ3 IQ2 IQ1 IQ0  |     
  1027.          ------------------------------------      
  1028.          The Interrupt Mask Register is contained on the 8259 
  1029.          Priority     Interrupt Controller on your Computer's 
  1030.          Motherboard. Each one of these     Hardware Interrupts 
  1031.          corresponds to an external device.      
  1032.          IQ7   Printer Interrupt (can be used by Custom COM5 or COM6)
  1033.          IQ6   Floppy Disk Interrupt     
  1034.          IQ5   Hard Drive interrupt (can be used by Custom COM7 or
  1035.                COM8)
  1036.          IQ4    COM1 Interrupt (also COM3)     
  1037.          IQ3    COM2 Interrupt (also COM4)     
  1038.          IQ2    reserved by IBM (Gateway to second 8259 on AT's)     
  1039.          IQ1    Keyboard Interrupt     
  1040.          IQ0    Timer Interrupt      
  1041.          
  1042.          The Modem Doctor Version 3.0 Documentation           Page 20
  1043.          Copyright (c) Hank Volpe 1989,1990
  1044.          
  1045.          Under Normal Conditions, IQ0,IQ1 and IQ6 should be lit, 
  1046.          along with IQ4 if testing COM1 (or COM3)  or IQ3 if testing 
  1047.          COM2 (or COM4). In addition, other lines could be lit 
  1048.          depending on your computer. The only line the Modem Doctor 
  1049.          looks for is the IQ4 or IQ3 lines (depending on which serial 
  1050.          port you are testing).   
  1051.          
  1052.          4.3 Carrier Tests     
  1053.          -----------------  
  1054.          The Carrier test section is used to test your modem's 
  1055.          ability to detect a carrier, demodulate signals on the 
  1056.          originate frequency and answer frequency, and to properly 
  1057.          control the RLS (Received Line Signal) and CD (Carrier 
  1058.          Detect) Modem Status/Control lines. All of these are 
  1059.          essential elements for good data communication.  When you 
  1060.          select carrier tests, a pull down menu is displayed. Option 
  1061.          1 prompts you to run the Carrier tests. Option 2 offers you 
  1062.          the chance to select a custom modem driver. Option 3 allows 
  1063.          you to return to the main menu (pressing ESCAPE also does 
  1064.          the same thing as option 3).  
  1065.          
  1066.          4.31 Modem Driver Modules    
  1067.          --------------------------  
  1068.          Although your AT Instruction set modem is based on a defacto 
  1069.          standard developed by Hayes, there are several "supersets" 
  1070.          of this instruction set for various modems. Currently, the 
  1071.          Modem Doctor supports 3 different software Modem Drivers for 
  1072.          testing; Generic Compatible, &T0 instruction set, and 
  1073.          Courier HST/V.32. When the Modem Doctor is running the setup 
  1074.          mode, it queries the Microprocessor for its type 
  1075.          identification. Based on this information, a Modem Driver is 
  1076.          selected for use. Basically, all 2400 bps and lower modems 
  1077.          are assigned the Generic Driver, and all 9600 and higher 
  1078.          modems are assigned the Courier HST/V.32 driver. The &T0 
  1079.          instruction set modems are tested in a different manner with 
  1080.          a different set of instructions. Previous versions of the 
  1081.          Modem Doctor would automatically switch to the &T0 
  1082.          instruction set if the modem was a 2400 bps modem and if it 
  1083.          failed to properly detect a carrier during testing. This 
  1084.          function is still  built into the Modem Doctor, but you can 
  1085.          optionally select the &T0 driver yourself before beginning 
  1086.          your testing in order to speed things up. Auto-selection 
  1087.          added about 10 seconds a pass that can now be eliminated.  
  1088.          If you desire to select the &T0 set for your modem instead 
  1089.          of letting  the Modem Doctor do it for you. NOTE: Don't 
  1090.          select this instruction set unless you know for sure that 
  1091.          your modem is 100% instruction set compatible with the Hayes 
  1092.          2400 or 2400B. Hayes 1200 bps and lower, and almost all 
  1093.          other 2400 bps and lower modems use the Generic Driver. You 
  1094.          will find that 99% of all modems will work properly with 
  1095.          this  assignment, in fact, if you disable all data 
  1096.          compression and Fixed link assignments from any high speed 
  1097.          
  1098.          The Modem Doctor Version 3.0 Documentation           Page 21
  1099.          Copyright (c) Hank Volpe 1989,1990
  1100.          
  1101.          modem (including the Courier's), the  Generic Driver will 
  1102.          test these modems properly also! This allows people with 
  1103.          high-speed modems that are not supported currently to use 
  1104.          the Modem Doctor for testing. If you have a high-speed modem 
  1105.          that is not supported, you can use a Combination of the 
  1106.          Manual mode and the Generic Modem Driver to test these 
  1107.          modems also.  
  1108.          
  1109.          4.32 Types of Carrier Tests  
  1110.          -----------------------------     
  1111.          The Carrier tests are designed to test your modem under 
  1112.          actual use conditions (minus a telephone line). Your Modem 
  1113.          uses two different frequency bands for communication. These 
  1114.          are the Originate and Answer frequencies. AT Compatible 
  1115.          modems can select these under command of the Modem Doctor 
  1116.          via the appropriate Modem Driver module. So called "Dumb" 
  1117.          Modems have front-panel switches that you must use to 
  1118.          properly test the modem. The Modem Doctor supports both 
  1119.          types of tests, one of   which is automatically selected by 
  1120.          the Modem Doctor depending on the hardware it detects.  
  1121.          
  1122.          4.33 AT Instruction Set Tests 
  1123.          -----------------------------     
  1124.          AT Instruction Set Modem Test - If you selected the Test 
  1125.          Modem/UART option from the setup menu and a Modem with a 
  1126.          compatible Microprocessor was detected, or if you have 
  1127.          forced the Modem Doctor to use the AT instruction set tests 
  1128.          via the Hot-Key ALT-F, the Modem Doctor will test  the 
  1129.          Originate and Answer frequencies of your modem 
  1130.          automatically. Before running this test, make sure you have 
  1131.          disconnected the modem from the telephone line, because the 
  1132.          modem will go off-hook and sometimes the  dial-tone will 
  1133.          interfere with testing. If you press ESCAPE in this menu, 
  1134.          you return to the main menu. Any other key continues.      
  1135.          You will be prompted to enter a "Loop Count". If you select 
  1136.          a count of 1, you will be able to hear the connecting tones 
  1137.          on your speaker. If you select a count greater than 1, then 
  1138.          the speaker is turned off. After you make your selection, 
  1139.          two windows will open on your screen. One contains data that 
  1140.          is being sent to the modem, the other Data that has been 
  1141.          received by the modem. All of the characters from Binary 0 
  1142.          to Binary 255 are transmitted. Some of these will look 
  1143.          strange because they are characters of the Extended 
  1144.          Character set. The Modem Doctor takes a great deal of care 
  1145.          in preserving the normal condition of your modem before 
  1146.          testing, and sends all the character strings necessary to   
  1147.          test without disturbing any non-volatile memory settings. If 
  1148.          you have an external modem, you will see the data being sent 
  1149.          and acknowledged before testing begins. While it is setting 
  1150.          up, the Modem Doctor tells you what is going on,     
  1151.          including that the Modem is reset, that commands are being 
  1152.          sent, and that it is waiting for a carrier. The Modem Doctor 
  1153.          waits up to 15 seconds for either the word CONNECT or the 
  1154.          
  1155.          The Modem Doctor Version 3.0 Documentation           Page 22
  1156.          Copyright (c) Hank Volpe 1989,1990
  1157.          
  1158.          RLS signal to go active. If this does not happen, the Modem 
  1159.          Doctor switches to the &T0 command set that is used by Hayes 
  1160.          2400's and several other clones. This test is just as valid 
  1161.          as a full carrier test and verifies both the modem and the 
  1162.          Uart signal paths as does the traditional carrier test. If 
  1163.          you switch to this mode, you will be informed via the screen 
  1164.          and the message "CARRIER NOT DETECTED" will be displayed. 
  1165.          Also, if you have an external modem, you might see the 
  1166.          "Modem Ready" light flashing throughout this test. If you 
  1167.          selected the &T0 instruction set yourself from the Modem 
  1168.          Driver selection menu, then the &T0 set will be used 
  1169.          exclusively. This selection  s mainly a convenience for some 
  1170.          users (because the Auto-detection method takes a little 
  1171.          longer), however it will not test any other kind of modem 
  1172.          properly. If you are unsure, let the Modem Doctor figure it 
  1173.          out for you. 
  1174.          Note, if you select more than 1 itineration and change you 
  1175.          mind, press ESCAPE anytime during the test. At the next 
  1176.          available loop-repeat time the Modem Doctor Will abort 
  1177.          testing and give you your current status.  
  1178.          
  1179.          4.34 Uart or Dumb Modem Tests 
  1180.          ----------------------------- 
  1181.          This test works the same as the AT Instruction Set Modem 
  1182.          test with two main exceptions. First, Your modem must be 
  1183.          able to generate a carrier on its own on the answer and 
  1184.          originate frequencies. Most external "dumb"  modems have 
  1185.          front panel switches for this function. Most are marked as  
  1186.          AL (for Analog Loopback). If your modem can generate this, 
  1187.          answer yes  and follow the prompts on the screen. All 
  1188.          testing is performed as above, except you setup the modem 
  1189.          instead of the Modem Doctor using its Modem Driver 
  1190.          software.  Whenever the Modem Doctor is working with the 
  1191.          Micro in the "Off-line"  mode, the Dumb mode tests are used. 
  1192.          You are prompted if your modem can generate a carrier. 
  1193.          Answer yes to start the testing. You are then told to place 
  1194.          your modem in the Analog Loop mode and force the carrier 
  1195.          detect on. Most dumb modems will light the CD light on the 
  1196.          front pane of the modem when you press the AL switch. This 
  1197.          CD light sends a RLS (Received  Line Signal) status word to 
  1198.          the Uart. The Modem Doctor looks for this before it will 
  1199.          allow testing in this dumb mode. If your modem cannot 
  1200.          generate a carrier indication, you can still test an analog 
  1201.          loopback using the Loopback function in the registered 
  1202.          version and select the Analog Loopback tests (this is 
  1203.          explained later in the documentation).   
  1204.          
  1205.          The Modem Doctor Version 3.0 Documentation           Page 23
  1206.          Copyright (c) Hank Volpe 1989,1990
  1207.          
  1208.          4.35 Error Messages 
  1209.          -------------------     
  1210.          If A RLS (Received Line Detect) signal is not received 
  1211.          before testing begins, this indicates that either A Carrier 
  1212.          is not being generated (or properly received in self test) 
  1213.          by the modem, or an RS-232 Cable to an external modem is 
  1214.          improperly wired. Although RS-232 loops will work fine 
  1215.          without an RLS signal being wired, there is no way for the 
  1216.          modem Doctor to detect on a Dumb Modem if a carrier was     
  1217.          generated. On a AT Instruction Set Modem, the Modem Doctor 
  1218.          alternately looks for the word "CONNECT" to be sent from the 
  1219.          modem if there is no RLS signal available. If you wish your 
  1220.          all of your communications programs to work properly, you 
  1221.          should get a cable with this signal wired. If an Error is 
  1222.          detected during the Analog test, the error Counter is     
  1223.          incremented. There are two error counters; One is used for 
  1224.          the Originate Mode, and the other for the Answer Mode. If 
  1225.          you receive an error, it could be due to a problem with a 
  1226.          UART or a Modem at a certain Baud Rate. Try testing at other 
  1227.          Baud rates to determine if the errors repeat. Also Errors 
  1228.          could occur on only the Originate or the Answer frequency. 
  1229.          This is more prevalent at higher baud rates. Finally, make 
  1230.          sure that the modem was disconnected from the Phone line     
  1231.          before testing. The Dial-tone interferes with some modems. 
  1232.          One other possibility exists, that there could be a problem 
  1233.          with a cable or interrupts not properly being generated or 
  1234.          properly handled by the CPU. Run the Digital/Loopback     
  1235.          tests and if the problem repeats, you might have a bad UART 
  1236.          or motherboard problem. Although it is unlikely, if power is 
  1237.          removed from the modem or a cable falls off (or who knows 
  1238.          what else), the Modem Doctor waits a pre-determined period 
  1239.          of time for an interrupt to occur. If none is detected, the 
  1240.          warning "Modem Queue Failure" or "Modem Receiver Failure"  
  1241.          will be displayed in one of the windows. These might also be 
  1242.          displayed if the Modem never acknowledged a character being 
  1243.          transmitted, or never sent one back. Again, the only 
  1244.          conditions that would cause this would be a cable being 
  1245.          removed between the modem and the Uart, the power being 
  1246.          removed to the modem, or the modem "blowing up" via some 
  1247.          unnatural means during the test. If the RLS (Received Line 
  1248.          Signal) is constantly active from the modem, the Modem 
  1249.          Doctor will tell you that you might have a problem with a   
  1250.          cable or the modem and that the test results might not be 
  1251.          valid. Reason for this is that the Modem Doctor never did 
  1252.          detect a carrier because the UART said it was already there. 
  1253.          This can be traced in nearly all cases to the Modem. Change 
  1254.          the setting of the Modem to let the Carrier  Detect (CD) act 
  1255.          normally. It should never be set to be forced on for a      
  1256.          PC. If so, not only the Modem Doctor, but other 
  1257.          communications   programs will not operate properly.  
  1258.          
  1259.          The Modem Doctor Version 3.0 Documentation           Page 24
  1260.          Copyright (c) Hank Volpe 1989,1990
  1261.          
  1262.          4.4 Loopback Tests     
  1263.          -------------------      
  1264.          The Loopback tests were designed for two purposes. First, to 
  1265.          test an RS-232 loop including cables that are properly 
  1266.          terminated with a loopback plug, and second, to run a 
  1267.          digital loopback test on 8250 and 100% Compatible UARTS. 
  1268.          Additionally, the Analog portion of this test 
  1269.          can be used to test a dumb modem that does not generate a CD 
  1270.          (Carrier Detect) signal when the AL switch is thrown on the 
  1271.          front panel. Selecting Loopback and pressing return fetches 
  1272.          this menu;      
  1273.          
  1274.          -[  Loopback Tests  ]-----------      
  1275.          | Analog Loopback using a PLUG  |     
  1276.          | Digital Loopback 8250 UARTS   |     
  1277.          | Loopback Plug Technical Data  |     
  1278.          |     Return To Main Menu       |      
  1279.          --------------------------------       
  1280.          
  1281.          Analog Loopback tests require that you attach a Loopback 
  1282.          plug either to the back of the Comm port connector on your 
  1283.          computer, or at the end of a RS-232 Cable. This test is 
  1284.          designed for external Modems, however you could run this on 
  1285.          an internal modem as a test of the command channel's ability 
  1286.          to receive characters. Caution should be used on     
  1287.          internal modems, for some will fail this test. If this 
  1288.          happens, don't be concerned. However this test should NEVER 
  1289.          fail with a Loopback Plug, unless you were trying to drive 
  1290.          the line at an excessive rate. Remember, the faster the data 
  1291.          rate, the shorter the lines should be, and the faster the 
  1292.          computer should be to handle it. With a loopback plug on the 
  1293.          back of the serial port, speeds of 38400 bps should run fine 
  1294.          even on a slower PC. If you experience problems at 38400 but 
  1295.          not at 19200,  chances are your hardware is fine (if you are 
  1296.          using an 8250-B). In extensive testing with PC's at 4.77 
  1297.          mhz, the original 8250-B performed flawlessly at 38400 bps. 
  1298.          Dumb modems can use this test also (as explained above and 
  1299.          in the section regarding Carrier tests). Digital Loopback 
  1300.          tests require that you have an 8250-B, 8250A,16450, 16550, 
  1301.          16550AN or other 100% compatible UART in your system. These  
  1302.          UART's have built-in diagnostics. If you are using a PC 
  1303.          compatible internal modem or a PC compatible Serial Card, 
  1304.          then you will definitely have a compatible Uart installed.  
  1305.          There is a design difference between the 8250-B and other 
  1306.          compatible chips in this series. Some of the differences 
  1307.          were explained above, but the important difference for the 
  1308.          Loopback test is the way the different Uarts will respond. 
  1309.          The 8250-B allowed its OUT2 signal to become active during 
  1310.          loopback testing. The OUT2 signal is used by PC compatible 
  1311.          machines to gate the interrupt signal off of the serial 
  1312.          board (or internal modem). Later designs (8250A, 16450, 
  1313.          16550,16550AN) tri-stated this line. As a result, the self-
  1314.          
  1315.          The Modem Doctor Version 3.0 Documentation           Page 25
  1316.          Copyright (c) Hank Volpe 1989,1990
  1317.          
  1318.          test diagnostics will not allow the interrupt signal to gate 
  1319.          off the board and interrupt the CPU. This would cause all 
  1320.          digital loopback tests on these improved chips to fail. The 
  1321.          Modem Doctor handles this by a brute-force read of the 
  1322.          Uarts. By sampling the Interrupt ID register, the presence 
  1323.          of an interrupt  is detected, then the receiver buffer 
  1324.          register is read. This method is not as efficient as a true 
  1325.          interrupt-driven test would be, but it is accurate. The Uart 
  1326.          does generate the ID for an interrupt, the character is 
  1327.          pulled out of the Uart, its just that the presented speed on 
  1328.          the screen is not as fast as it should appear to be.  When 
  1329.          running this test on an 8250-B, you will see the true speed 
  1330.          of the interrupt handling and processing. On others, you 
  1331.          will see the brute-force method. Each is an accurate test of 
  1332.          the Uart and valid at any baud rate selected. If this test 
  1333.          does not run, but yet the Analog test and all other tests 
  1334.          run fine, it means that you do not have a compatible UART 
  1335.          installed.  Some UARTS that are not 8250's have a problem 
  1336.          entering this mode properly.  If the test does not start, do 
  1337.          not be alarmed, because only 8250 and true compatibles will 
  1338.          pass this test. However this test will NEVER start and then 
  1339.          fail unless you do have a hardware problem. You should never 
  1340.          pick  up a character error using this test. If you do, you 
  1341.          have a bad UART or  CPU Motherboard Problem. Both Tests open 
  1342.          up windows (like the Analog test) and send and receive     
  1343.          characters to the UART. If you wish to know how to build a 
  1344.          loopback plug, select the Loopback Plug technical data 
  1345.          section. Pressing ESCAPE is the same as Option 4 and returns 
  1346.          you to the main menu.  
  1347.          
  1348.          4.41 Loopback Test Error messages 
  1349.          ---------------------------------  
  1350.          Essentially the error messages for these tests are simple. 
  1351.          In the Loopback test mode, if a character is received 
  1352.          incorrectly, the error counter is advanced and a report is 
  1353.          issued at the end. If the Analog or Digital tests fail to 
  1354.          receive or transmit characters, the messages will explain 
  1355.          that either the Transmit Queue, the Receive Queue failed, or 
  1356.          that the Uart did not respond to the tests. The last message 
  1357.          may be displayed if you have a non-compatible Uart. If the 
  1358.          Uart fails to setup properly for the Digital Loopback test  
  1359.          (does not program its registers properly), a warning is 
  1360.          displayed that there is an error in one of the registers. 
  1361.          The message will explain what is wrong and what it 
  1362.          expects.   See the warning message section for more details  
  1363.          
  1364.          The Modem Doctor Version 3.0 Documentation           Page 26
  1365.          Copyright (c) Hank Volpe 1989,1990
  1366.          
  1367.          4.5 Manual     
  1368.          ----------     
  1369.          As well written as the Modem Doctor is, there exists the 
  1370.          possibility that a Modem or a system might not be compatible 
  1371.          with the diagnostics. The Manual section allows you to send 
  1372.          your own string commands to the Modem, read back data, and 
  1373.          in fact you could use this as a Mini-communications program. 
  1374.          If you select this mode, a window opens with the banner 
  1375.          Interactive Mode. At the Bottom are listed the "Hot-Keys" 
  1376.          you can use; 
  1377.          ALT-B   This opens a window for you to change the baud rate. 
  1378.          Note: if you are on-line with a service this might cause an 
  1379.          error between the computer and the modem. Off-line 
  1380.          conditions should work properly. 
  1381.          
  1382.          ALT-C   Clears the screen. This only clears the window of 
  1383.          data, and leaves all your prompts.   
  1384.          
  1385.          ALT-R   This displays the UART registers...handy for real-
  1386.          time troubleshooting of RS-232 loops.      
  1387.          
  1388.          ALT-H   Help..this displays the basic AT Command set 
  1389.          instructions that  you could use to control your modem. Note 
  1390.          that this is only a basic set. Some modems have many 
  1391.          extensions to this, so for advanced work, consult your 
  1392.          owners manual.      
  1393.          
  1394.          ALT-X   Exits the interactive mode and returns to the main 
  1395.          menu.       
  1396.          
  1397.          4.6 Setup Mode     
  1398.          --------------      
  1399.          This section was covered above. Use this to change the 
  1400.          serial port under test, the baud rate, and the type of test 
  1401.          to be run.        
  1402.          
  1403.          4.7 Exit Program     
  1404.          ----------------     
  1405.          This is the only way to exit the Modem Doctor. This is 
  1406.          necessary  because the interrupt tables and controllers of 
  1407.          your PC must be  returned to their original state in order 
  1408.          to avoid problems after you  use the Modem Doctor.  Pressing 
  1409.          Control-C or Control-Break during the   Modem doctor will 
  1410.          cause one of two things to happen. First, it will ignore 
  1411.          what you have done if it is critical that the program not be 
  1412.          interrupted, or second, if it is at all possible to exit     
  1413.          without damage, a window will open telling you that you can 
  1414.          control- break abort if you wish..answer yes or no. You can 
  1415.          Control-Break during all tests and at times from menus. If 
  1416.          you choose to quit, the Modem Doctor cleans things up 
  1417.          properly and exits to dos. Please remember this is just an 
  1418.          emergency way of doing an exit. Use the Exit function from 
  1419.          the main menu as the correct way to end the program.
  1420.          
  1421.          The Modem Doctor Version 3.0 Documentation           Page 27
  1422.          Copyright (c) Hank Volpe 1989,1990
  1423.          
  1424.          5.0 Error Messages and their Meanings     
  1425.          -------------------------------------     
  1426.          The Modem Doctor, if presented with an error, will make a 
  1427.          diagnosis of the problem. In most cases, this should be 
  1428.          enough for you to figure out what is wrong and go on from 
  1429.          there to correct it.      
  1430.          
  1431.          5.1 Log In errors     
  1432.          -----------------      
  1433.          ALL Available COMM ports are in use...Press to Return       
  1434.          -COM1 through COM8 are logged in and no new ports can be  
  1435.           added      
  1436.          
  1437.          COMx Not Found -A COMM port (x) was not located at the port 
  1438.          address specified. This is normal during auto-selection, but 
  1439.          not if a manual selection was entered. If a manually entered 
  1440.          address did not work, check your Modem owners manual to make 
  1441.          sure you entered it correctly. You can  override and force a 
  1442.          port to be logged (during manual selection) if you wish as a 
  1443.          way to find out what is wrong with a serial port, but if you 
  1444.          do so, do it with caution. If the Modem Doctor determines    
  1445.          a port is defective, and even if you override it, you will 
  1446.          only be able to check the UART registers for the problem. No 
  1447.          other test will run.       
  1448.          
  1449.          WARNING...RESERVED port...RETRY ENTRY
  1450.          - You entered a port address that is assigned to a critical  
  1451.          Motherboard or CPU address port. Your entry was an 
  1452.          error..check your modem owners manual to get the right 
  1453.          port.       
  1454.          
  1455.          5.2 Carrier Errors     
  1456.          ------------------     
  1457.          WARNING...CARRIER FAILURE...Status Registers Displayed 
  1458.          above      followed by;      
  1459.          
  1460.          RLS (Received Line Signal Detect indicates that a carrier 
  1461.          has not been received by the UART Check modem or connector 
  1462.          wiring 
  1463.          - This indicates that a "dumb" modem did not signal the UART 
  1464.          that it has received a carrier (or is generating one). Make 
  1465.          sure that your dumb modem lights the CD light during the 
  1466.          test (or alternately raises the RLS line to the Modem). A 
  1467.          modem with a Microprocessor will not display this 
  1468.          error.      
  1469.          
  1470.          NOTE.Carrier (RLS Line) active, it should not be..test may 
  1471.          not be valid (also displayed at the end of test loops) 
  1472.          - Check your modem to make sure that Carrier isn't forced 
  1473.          high. Most Modems have a CD forced High or follows Carrier 
  1474.          detect switch. It should be set to allow the modem to follow 
  1475.          a Carrier detection to insure that your modem works properly 
  1476.          
  1477.          The Modem Doctor Version 3.0 Documentation           Page 28
  1478.          Copyright (c) Hank Volpe 1989,1990
  1479.          
  1480.          with all communications programs. The Modem will continue 
  1481.          testing after a 2 second delay.         
  1482.          
  1483.          The RLS line was Active from the UART when it should not be
  1484.          -Check to see that the modem is not in the forced CD mode.  
  1485.          &T1 Loopback signal Sent...waiting 5 seconds to start of 
  1486.          test
  1487.          - The Modem Doctor did not find a carrier within 15 seconds, 
  1488.          so it switched to the &T command set that some modems use. 
  1489.          If you use the &T0/&T1 driver for your modem then you will 
  1490.          not need the 15 second delay. Please read the section on 
  1491.          Modem Drivers for more information.      
  1492.          
  1493.          Modem not responding to the Analog originate test      
  1494.          or;     
  1495.          Modem not responding to the Analog Answer test      
  1496.          -A "AT" Instruction Set Modem did not go into the self test 
  1497.          mode. The Modem Doctor looks for the word "CONNECT" or the 
  1498.          RLS Line to go high, indicating that a Carrier was received 
  1499.          from the modem. A possible reason  for a perfectly working 
  1500.          modem to generate this is if the wrong baud rate  was 
  1501.          selected for testing. "AT" Instruction Set Modems return    
  1502.          identifications that can be read by the Modem Doctor. If you 
  1503.          suspect you selected the incorrect baud rate, go to setup 
  1504.          and select  300 baud and try again. If it doesn't work this 
  1505.          time, you might have a problem with your  modem generating a 
  1506.          self test.       
  1507.          
  1508.          Modem Transmit Error 
  1509.           -The Modem Doctor attempted to send a character to the 
  1510.          Modem, but the status of the Transmit Holding Register 
  1511.          indicated that the character was never sent. This will abort 
  1512.          a test. Check cable wiring and that somehow the modem did 
  1513.          not get disconnected from the serial port or inadvertently 
  1514.          turned off.      
  1515.          
  1516.          Modem Queue Failure     
  1517.          -A character was sent to the modem, but nothing, not even 
  1518.          the wrong character was sent back to the Computer from the 
  1519.          Modem. This test is driven by interrupts, however if they 
  1520.          fail to happen, a brute-force method is tried one time and 
  1521.          if that still fails to get a character, then this error 
  1522.          message is displayed. Check cable wiring and again make    
  1523.          sure that somehow the modem did not get disconnected from 
  1524.          the serial port or inadvertently turned off.       
  1525.          
  1526.          CARRIER NOT DETECTED     
  1527.          -Some Modems in the self-test mode do not raise a carrier 
  1528.          (RLS) or send the word CONNECT. Instead, the MB (Modem Busy) 
  1529.          light blinks on the Modem. Two such modems are the Hayes 
  1530.          2400B and the CTS Modems. In  this case, the self test 
  1531.          continues, but the words CARRIER NOT DETECTED are       
  1532.          displayed in the message window instead of CARRIER ON. This 
  1533.          
  1534.          The Modem Doctor Version 3.0 Documentation           Page 29
  1535.          Copyright (c) Hank Volpe 1989,1990
  1536.          
  1537.          test is just  as valid for these modems as any other as long 
  1538.          as you notice the light  blinking on the modem. If the 
  1539.          Generic Modem Driver is used with &T0/&T1  modems, this will 
  1540.          be a normal message as it switches to the alternate  test 
  1541.          set and continues the test.            
  1542.          
  1543.          Modem Analog Test passed without any errors in Originate and 
  1544.          Answer Modes      - Normal results of the testing.      
  1545.          
  1546.          "You had a total of x Originate Errors and x Answer Errors  
  1547.          - An error was detected on character transmission by the 
  1548.          Modem Doctor. Use the window display to isolate the error if 
  1549.          you wish, or run the test again, making sure that the phone 
  1550.          line is disconnected. 
  1551.          
  1552.          5.3 Loopback Errors      
  1553.          -------------------     
  1554.          UART not responding using Analog Loopback Plug mode     
  1555.          -No characters were received over the RS-232 Loop. Make sure 
  1556.          you are using a proper RS-232 cable and a proper Loopback 
  1557.          plug  
  1558.          
  1559.          No Loopback Plug or General Failure of the Hardware     
  1560.          -None of the handshaking signals (RTS/CTS DTR/DSR) were 
  1561.          detected (or generated) by the UART. Either you have a bad 
  1562.          cable, a bad loopback plug or a faulty UART.      
  1563.          
  1564.          NO CTS Handshake detected. Continuing test even though 
  1565.          plug/modem maybe bad    
  1566.           -The Loopback mode looks for RTS/CTS handshaking before it 
  1567.          starts. If it is not there, it could be because the cable 
  1568.          does not have the RTS/CTS pair connected or because the 
  1569.          loopback plug or DCE equipment is defective. Since it 
  1570.          doesn't know, it gives the loop the benefit of the       
  1571.          doubt and starts the test. If the test runs fine from this 
  1572.          point on, then the RTS/CTS pair is either not wired in your 
  1573.          cable or your loopback plug is not wired correctly. The 
  1574.          reason for this display is because many high-speed modems 
  1575.          use the RTS/CTS pair for hardware flow-control, so its 
  1576.          presence is vital.      
  1577.          
  1578.          Loopback Transmit Error     
  1579.          -The Modem Doctor attempted to send a character to the UART, 
  1580.          but the status of the Transmit Holding Register indicated 
  1581.          that the character was never sent. This will abort a test. 
  1582.          If you are performing the Analog Loopback test, check cable 
  1583.          wiring and that somehow the modem did not get disconnected 
  1584.          from the serial port or inadvertently turned off. If you are 
  1585.          running a digital loopback test, then this indicates that 
  1586.          the UART is failing to send characters. If you have an 8250 
  1587.          or compatible UART, then this would indicate a problem. If  
  1588.          your UART is more or less compatible, then this message 
  1589.          might get displayed.      
  1590.          
  1591.          The Modem Doctor Version 3.0 Documentation           Page 30
  1592.          Copyright (c) Hank Volpe 1989,1990
  1593.          
  1594.          Loopback Queue Failure     
  1595.          -A character was sent to the modem, but nothing, not even 
  1596.          the wrong character was sent back to the Computer from the 
  1597.          Looping source. This test is driven by interrupts, however 
  1598.          if they fail to happen, a brute-force method is tried one 
  1599.          time and if that still fails to get a character, then this  
  1600.          error message is displayed. If you are performing the Analog 
  1601.          Loopback test, check cable wiring and again make sure that  
  1602.          somehow the Loopback source (Plug or Modem) did not get 
  1603.          disconnected from the serial port or inadvertently turned 
  1604.          off. If you are running a digital loopback test, then this 
  1605.          indicates that the UART is failing to loop characters. If 
  1606.          you have an 8250 or compatible UART, then this would 
  1607.          indicate a problem. If your UART is more or less compatible, 
  1608.          then this message might get displayed 
  1609.          
  1610.          Analog Loopback Test passed without any errors      
  1611.          - Normal result of test      
  1612.          
  1613.          You had a total of x Errors      
  1614.          - At least one error was detected...this is the normal 
  1615.          result if a UART does not respond to any test. 
  1616.          UART not responding to the Digital Loopback test     
  1617.          -No characters were looped internally through the 8250 UART. 
  1618.          Suspect a non-compatible UART. If this test starts and then 
  1619.          fails, suspect the UART.       
  1620.          
  1621.          UART Registers did not set for Loop back test     
  1622.          -The UART Modem Control Registers did not program properly. 
  1623.          This should indicate a hardware failure of the UART under 
  1624.          all circumstances (including use with a non-compatible 
  1625.          UART).      
  1626.          
  1627.          UART Digital Test passed without any errors     
  1628.          - Normal result of test        
  1629.          
  1630.          5.4 Setup Errors     
  1631.          ----------------     
  1632.          Modem Microprocessor Did Not Accept Setup Commands     
  1633.          -Commands were sent to setup the modem for testing, the 
  1634.          Modem did  not acknowledge. Suspect a non-compatible modem 
  1635.          or a possible hardware failure.      
  1636.          
  1637.          Modem Status Register readings show that there is no status 
  1638.          coming back from the modem to the UART.  If this is an 
  1639.          external modem, check" that the cable is plugged in.      
  1640.          -The only conditions that the UART will not have any status  
  1641.          is if an External Modem is off or not connected, if the 
  1642.          RTS/CTS and DTR/DSR lines are not active in an external 
  1643.          cable ,or the UART has a serious hardware problem. In the 
  1644.          case of a Uart problem, most likely other diagnostic error 
  1645.          messages will be received. 
  1646.          
  1647.          The Modem Doctor Version 3.0 Documentation           Page 31
  1648.          Copyright (c) Hank Volpe 1989,1990
  1649.          
  1650.          Line Control register readings show that the word length 
  1651.          selected is incorrect.      
  1652.          -WS1 and WS0 should both be on indicating that 8 bit words 
  1653.          are to be used. The UART is defective or communications to 
  1654.          the UART are suspect.       
  1655.          
  1656.          Line  Status Readings show that the Tx Holding Register THE 
  1657.          or the Tx Shift Register TSE is not resetting properly. UART 
  1658.          is suspect or connections to the UART from the computer.
  1659.          -The Tx Holding Register and the TX Shift Register both 
  1660.          should be empty whenever the Modem Doctor Polls the register 
  1661.          (in between interrupts). If these are not, then the case is 
  1662.          99% of the time due to a bad status from the UART. A cable 
  1663.          could cause a problem, but its very unlikely.      
  1664.          
  1665.          Modem Control register readings show that either DTR,RTS or 
  1666.          OT2 signals are not set properly.
  1667.          -DTR and RTS are essential for communications. OT2 is 
  1668.          essential for interrupts. UART is suspect or connections to 
  1669.          the UART from the computer       
  1670.          
  1671.          Interrupt ID register readings show that an interrupt is 
  1672.          pending when none should be. UART is suspect or connections 
  1673.          to the UART from the computer. 
  1674.          
  1675.          Interrupt Enable register readings show that ERI Enable 
  1676.          Receiver ints is not set properly. UART is suspect or 
  1677.          connections to the UART from the computer.      
  1678.          
  1679.          8259 Interrupt Controller has not responded to setting the 
  1680.          IRQ(x) line. This problem is on the system board of your 
  1681.          computer. Run your computer diagnostics program to locate 
  1682.          the error. -This error may be displayed if you also try to 
  1683.          log-in a defective Comm port, or if the 8259 failed to set 
  1684.          the correct interrupt line. IRQ4 = COM1/3, IRQ3 = COM2/4, 
  1685.          IRQ5 = COM7/8, IRQ 7 = COM5/6. If this error was displayed 
  1686.          when logging in a defective Comm port, yet the controller 
  1687.          responds properly on correctly operating Comm ports, then 
  1688.          the error report can be safely ignored.
  1689.          
  1690.          I cant find a COMM port     
  1691.          -If Dos does not Log in Comm 1 or Comm 2 and if no port is  
  1692.          Auto-Detected, then the Modem Doctor Aborts for there is no 
  1693.          reason to run the program.      
  1694.          
  1695.          WARNING...This COMM port is MODEM STATUS/CONTROL REGISTER IS 
  1696.          DEFECTIVE     
  1697.          -The Modem status register is one of the registers tested 
  1698.          during auto-login detection. If it doesn't respond properly, 
  1699.          the UART is probably defective and this message is 
  1700.          displayed. The Modem Control  register is also checked. 
  1701.          Failure of either of these usually indicates  your Uart is 
  1702.          defective.   
  1703.          
  1704.          The Modem Doctor Version 3.0 Documentation           Page 32
  1705.          Copyright (c) Hank Volpe 1989,1990
  1706.          
  1707.          Section 6. Special Modes and Information     
  1708.          ---------------------------------------- 
  1709.          The Modem Doctor supports a wide range of "AT" instruction 
  1710.          set modems. There are however "supersets" of instructions 
  1711.          that manufacturers have used to enhance the capability of 
  1712.          their modems. Although there is some structure  in this 
  1713.          area, not all commands intermix between different brands and 
  1714.          lines of modems. This situation is analogous to PC computer 
  1715.          printers, and it  calls for a similar approach. The Modem 
  1716.          Doctor now supports the use of "Modem Drivers" to meet these 
  1717.          special needs.  Additionally, due to the increase in 
  1718.          computers using the ISA bus, there are more interrupt lines 
  1719.          free to be used by modem manufacturers. For test purposes, 
  1720.          you can use IRQ3,4,5,7 for your hardware testing. Using the 
  1721.          special /S switch, you can send initialization codes to your 
  1722.          modem from a batch file or other command-line need to setup 
  1723.          the modem for use.   Finally, to add some flexibility to the 
  1724.          Modem Doctor's diagnostics,  some special "Hot-keys" have 
  1725.          been added. These have been discussed  above in an 
  1726.          operational sense, however in this section you will get some 
  1727.          ideas of how these can help you speed up testing and test 
  1728.          defective or non-compatible hardware.   
  1729.          
  1730.          6.1 Using Modem Drivers 
  1731.          -----------------------  
  1732.          Most Modem's today are built on the original "AT" 
  1733.          instruction set that was developed by Hayes Micromodems in 
  1734.          their 1200B series. This driver, named the Generic Driver in 
  1735.          the Modem Doctor, is used exclusively if the modem returns 
  1736.          an ID indicating it is a 300,1200 or 2400 bps modem. Also,  
  1737.          if the modem does not return an ID, this Generic Driver is 
  1738.          used.  The Generic Driver can be used to test nearly all 
  1739.          modems, however there are some 2400 bps modems that were 
  1740.          built using the command structure that Hayes Micromodems put 
  1741.          into their 2400B line. These modems used an "&" for some 
  1742.          modem setup and command functions. The Modem Doctor has a 
  1743.          driver for these modems called the "&T0/&T1" driver. Using 
  1744.          this driver, the Modem Doctor can perform a simulated 
  1745.          carrier test. During your testing of this type of modem, you 
  1746.          will notice the MB (Modem Busy) light flashing on your 
  1747.          external modem. This driver (and all others) is user 
  1748.          selectable, however the Modem Doctor will automatically 
  1749.          switch to it when performing the carrier tests if the Modem 
  1750.          was detected to be a 2400 bps modem.  The last driver 
  1751.          currently supported is for US Robotics Courier HST and HST 
  1752.          Dual/Standard V.32 Modems. The Modem Doctor recognizes these 
  1753.          modems upon initial testing and sets up its test parameters 
  1754.          a certain way to compensate for their Carrier self test 
  1755.          limitations. 
  1756.          
  1757.          The Modem Doctor Version 3.0 Documentation           Page 33
  1758.          Copyright (c) Hank Volpe 1989,1990
  1759.          
  1760.          Because of the trellis-encoded Async/modulation of the USR 
  1761.          HST Mode, the maximum Carrier test Baud rate is 2400 bps 
  1762.          (see the USR Manual for this info). To work around this, the 
  1763.          Modem Doctor Programs these modems to use a fixed DTE/DCE 
  1764.          Rate with the &B1 Parameter, allowing communications to and 
  1765.          from the modem at speeds up to 19200 bps. When working in 
  1766.          the V.32 mode however, the Carrier test (and all loopback   
  1767.          tests ) can be performed at 9600 since the modulation is 
  1768.          symmetrical again. Also when the selected baud rate is 
  1769.          higher than 2400 bps, the MNP Protocol switch is set to &M0, 
  1770.          otherwise if there was an error, the Modem would try to 
  1771.          correct it instead of passing the error on to the Modem 
  1772.          Doctor. None of these changes is saved to the non-volatile 
  1773.          ROM,  so you should not experience a problem. However, the 
  1774.          V.32 and Dual Standard Modems might experience a problem if 
  1775.          register S13 is not set to 1. This is the default from the 
  1776.          factory and insures that the modem will be reset when the 
  1777.          DTR line is dropped. If you are experiencing a problem, use 
  1778.          the interactive mode and type S13=001. This change is not   
  1779.          permanent. If you are using a USR Dual Standard Modem, then 
  1780.          the Modem Doctor will test whatever mode is active via the B 
  1781.          switch. If the current Modem setting is B0, then the V.32 
  1782.          mode will be tested, if B1 is set, then the HST mode will be 
  1783.          tested. You can change this setting to whatever you      
  1784.          wish by using the Interactive mode, type ATZ, then type ATB0 
  1785.          &W or ATB1 &W. This has to be written to the firmware in 
  1786.          order to stay valid throughout all the testing, but the ATZ 
  1787.          command before a save will always recall your settings, 
  1788.          insuring you have only changed the one parameter. Please 
  1789.          note, this is included for advanced users and is one of the 
  1790.          reasons for the interactive mode. It is not necessary for 
  1791.          you to do this to test your modem unless you wish to. For 
  1792.          more information, see    the section regarding "Quirks".    
  1793.          As mentioned above, all of the Modem Drivers are self-
  1794.          selecting, but can be user-selected. The status line of your 
  1795.          screen will display the current Port assignment, the current 
  1796.          Baud rate, the status of the Microprocessor, and the current 
  1797.          Modem Driver being used. Select carrier test from the Main 
  1798.          menu and move the bar to "Select Modem Commands". You will 
  1799.          be given a choice of the available drivers. After you 
  1800.          select, the status line will be updated, and you can either 
  1801.          start the test or return to the main menu.  The reason for 
  1802.          Modem Drivers is to allow more individualized testing of a 
  1803.          particular type of modem, and to allow for more modems to 
  1804.          added to the list of specially supported modems. Although 
  1805.          not supported in version 3.0, the program will in the future 
  1806.          be able to access external modem drivers that can be 
  1807.          provided to a customer for special testing or to enhance the 
  1808.          abilities of the Modem Doctor. If you wish to have a custom  
  1809.          interface written, please contact us for pricing and 
  1810.          appropriate  information that we will need to do this for 
  1811.          you. 
  1812.          
  1813.          The Modem Doctor Version 3.0 Documentation           Page 34
  1814.          Copyright (c) Hank Volpe 1989,1990
  1815.          
  1816.          6.2 Using the Command Line Mode switch /S 
  1817.          -----------------------------------------  
  1818.          There can be special occasions where you need to initialize 
  1819.          and test a modem before another program can be run. The 
  1820.          Modem Doctor now supports a method to do this. Using the 
  1821.          command line switch /S, you can instruct the Modem Doctor to 
  1822.          "wake-up" a Modem and send an initialization string to it. 
  1823.          Although similar to our product Comset, it offers some 
  1824.          additional flexibility but does not allow the serial port 
  1825.          only setup that Comset does.   To use this special mode, you 
  1826.          need to have a companion file named MDR.DAT that you create 
  1827.          with any ASCII text editor that follows this format;  
  1828.          All information must start on the first space on each line 
  1829.          and can consist of up to 3 lines. Line 1 and Line 2 are 
  1830.          required.  
  1831.          
  1832.          Line 1 = Port Number 1 through 8 and an optional Port 
  1833.          address in [] ( For settings greater than Port 4, this 
  1834.          address is required).
  1835.             
  1836.          Line 2 = the Baud Rate you wish to use (300-38400 or 3-384 
  1837.          are acceptable)  
  1838.          
  1839.          Line 3 = the initialization string you wish to send. This 
  1840.          string must start with AT and can be up to 80 characters 
  1841.          long. If no string is included in the file, or if it does 
  1842.          not begin with the letters AT, then ATZ is automatically    
  1843.          sent to the modem.   
  1844.          
  1845.          Example..to setup Port 2 to 19200 and set S7 to 255;  
  1846.          Make a file called MDR.DAT that looks like this;        
  1847.          2 [2F8]<--note for Port 1-4 unless it is non-standard [2F8] 
  1848.                    is not needed   
  1849.          192   
  1850.          AT S7= 255  
  1851.          
  1852.          Next, start the Modem Doctor by typing  MDR /S  
  1853.          As long as the MDR.DAT file is in the current working 
  1854.          directory, these commands will be sent. If not, you will get 
  1855.          an error message stating that MDR.DAT could not be found.  
  1856.          Why not have the Modem Doctor search all directories for the 
  1857.          file? Well, the reason is so that you can put MDR.EXE in a 
  1858.          Dos path but have individualized setup MDR.DAT files in 
  1859.          different subdirectories for different programming needs. 
  1860.          Instead of constantly changing the file, make different ones 
  1861.          and call MDR.EXE. It will only use the MDR.DAT file in the 
  1862.          current working directory.
  1863.          
  1864.           After the initialization string is sent, the Modem Doctor 
  1865.          will wait up to 10 seconds for the word "OK" to return from 
  1866.          the modem. If it does not, you will get a message saying the 
  1867.          modem failed to setup. In either case, whatever your modem 
  1868.          sent to the Modem Doctor will be displayed. If you see the 
  1869.          
  1870.          The Modem Doctor Version 3.0 Documentation           Page 35
  1871.          Copyright (c) Hank Volpe 1989,1990
  1872.          
  1873.          word "ERROR", that was sent from the modem, it probably 
  1874.          means that your initialization string was not correct. No 
  1875.          message returning could indicate a problem with the modem, 
  1876.          or an invalid baud rate. When it finishes executing, the 
  1877.          Modem Doctor returns an errorlevel to the calling program. 
  1878.          An errorlevel of 0 is normal, an errorlevel of 99 indicates 
  1879.          a failure. You can use these errorlevels to control batch 
  1880.          processes if you wish to.  
  1881.          Also, this mode of the Modem Doctor uses bios screen writes, 
  1882.          so all of the information displayed can be redirected to a 
  1883.          printer, a file, or whatever other DOS device you wish.  
  1884.          Example...to send the output of this test to a file called 
  1885.          Test.txt...  
  1886.          MDR /S  > TEST.TXT or    MDR /S >> TEST.TXT (if you wish to 
  1887.          append an existing Test.txt file.  
  1888.          
  1889.          If the Modem Doctor setup was successful, the modem's DTR 
  1890.          and RTS lines stay active, if not, they are dropped.  If you 
  1891.          need more specialized command-line modes of operation, you  
  1892.          might consider Comset. Comset allows Serial Ports and Modems 
  1893.          to be setup at various rates and under various conditions. 
  1894.          Registered Modem Doctor users get a 15% discount! You can 
  1895.          find Comset on most BBS's as COMSET6.ZIP.   
  1896.          
  1897.          6.3 Using the Hot-Keys 
  1898.          ----------------------  
  1899.          Hot-Keys are combinations of the ALT key plus a letter. The 
  1900.          Modem Doctor adds several of these Hot-keys to make it 
  1901.          easier to test  modems at different baud rates and to 
  1902.          circumvent some of the error checking that the program 
  1903.          performs under normal circumstances.  
  1904.          
  1905.          ALT-B Change Baud rate - If you are testing a system that 
  1906.          you suspect has a problem, it is best to use the setup mode 
  1907.          when changing the baud rate. The Setup mode will test all 
  1908.          the registers, and the modem microprocessor (if selected) 
  1909.          and assure you that all the hardware is communicating 
  1910.          properly at each baud rate. However, if you feel a system is 
  1911.          running fine, using the ALT-B from the main menu can save 
  1912.          time when running tests at different baud rates. Press ALT-B 
  1913.          and select the baud rate (taking care not to select a rate 
  1914.          higher that what your modem is rated for if you are doing 
  1915.          modem tests). ALT-B works from the main menu, and from 
  1916.          inside the Manual interactive mode.   
  1917.          
  1918.          ALT-C Clear Screen - This key is only active inside of the 
  1919.          Manual interactive mode and is used to clear the text window 
  1920.          of any characters.  
  1921.          
  1922.          The Modem Doctor Version 3.0 Documentation           Page 36
  1923.          Copyright (c) Hank Volpe 1989,1990
  1924.          
  1925.          ALT-F Force Microprocessor on-line - The Modem Doctor has 
  1926.          many tests built-in to verify the working condition of a 
  1927.          microprocessor-based modem and will not allow a modem to be 
  1928.          tested in the "AT" instruction set mode if it has not 
  1929.          properly addressed and setup a modem microprocessor. Using 
  1930.          the ALT-F combination forces the Modem Doctor to perform 
  1931.          tests as if it had properly setup a modem. This feature 
  1932.          should be used with care, however  its primary benefit is to 
  1933.          help you test a malfunctioning modem to see exactly what 
  1934.          commands it will respond to. Pressing ALT-F also updates the 
  1935.          status bar to indicate that the modem microprocessor is on-
  1936.          line (which may or may not be the case after this command 
  1937.          was issued).  
  1938.          
  1939.          ALT-R Register Display - This is only active inside of the 
  1940.          Manual interactive mode and is used to display the status of 
  1941.          all Uart registers on the screen for diagnostic purposes.  
  1942.          
  1943.          ALT-X Exit Mode - This is only active inside of the Manual 
  1944.          interactive mode and is used to exit this mode. 
  1945.          
  1946.          6.4 Logging in Defective Ports 
  1947.          ------------------------------  
  1948.          If a serial port Uart is defective, the Modem Doctor will 
  1949.          refuse to log it in for testing. This is necessary because 
  1950.          there is no way for it to know what ports are defective and 
  1951.          what are non-existent. However in Version 3.0, you can now 
  1952.          log-in a defective chip for testing. The procedure to do so 
  1953.          is explained above under Manual Login. The reason for doing 
  1954.          so however might not have been apparent. If any register of 
  1955.          a serial port is defective, it might not function properly. 
  1956.          Logging in this defective port will give you the full 
  1957.          benefit of the Uart and Serial port diagnostics. Error 
  1958.          messages will be displayed, in most cases there will be 
  1959.          multiple error messages. There are two possible causes of a 
  1960.          defective port; the Uart chip and the Serial Port address 
  1961.          system. If it is a chip, simply replacing the chip fixes the 
  1962.          problem. If it is a serial port instead, then the same 
  1963.          problem will repeat. How do you approach this? Well for 
  1964.          starters, check that the strapping on your serial port board 
  1965.          matches the correct COMM port assignment (ie strapped for 
  1966.          COM1 for COM1..etc). Next, if there is user selectable IRQ 
  1967.          assignments, make sure it again matches the COMM port 
  1968.          assignment (IRQ4 for COM1/3, IRQ3 for COM2/4, IRQ5 for 
  1969.          COM7/8, IRQ7 for COM6/7). If all this is set properly, then 
  1970.          you can suspect the chip, but also the Serial Port hardware 
  1971.          that gates the address of the chip to the computer. Finally, 
  1972.          if you get warnings about status, but the chip logs in, then 
  1973.          you might just have a bad cable from the computer to the 
  1974.          modem (NOTE: The Modem Doctor does not consider this an 
  1975.          error but simply displays a warning and allows the Uart to 
  1976.          be logged-in for use).       
  1977.          
  1978.          The Modem Doctor Version 3.0 Documentation           Page 37
  1979.          Copyright (c) Hank Volpe 1989,1990
  1980.          
  1981.          6.5 What tests cannot Do     
  1982.          ------------------------     
  1983.          Although I tried to be extremely thorough in my tests, there 
  1984.          are somethings that tests just cannot do or pinpoint. If you 
  1985.          are having problems with excessive line-noise, you might 
  1986.          have a bad connection between your modem and your telephone 
  1987.          wiring in the house. Another possibility, although remote, 
  1988.          is that your modem does not offer the correct input 
  1989.          impedance to the telephone line. This can cause poor      
  1990.          connections. The problem is with the electronic design of 
  1991.          the modem, and again, it is more prevalent in inexpensive 
  1992.          modems. Also, tests cannot check that the communications 
  1993.          program you are using is set up correctly. At times, 
  1994.          installing a communications package can be very challenging 
  1995.          for a novice user. Tests also cannot check the wiring in 
  1996.          your serial Cable. The Modem Doctor will tell you if a 
  1997.          handshaking pair is missing, but it cant tell you why. It 
  1998.          could be because the UART is bad, but more than likely,      
  1999.          your RS-232 Cable doesn't carry all of the handshaking 
  2000.          signals to or from the external modem or serial device. This 
  2001.          can be important if you are using a high-speed modem. Most 
  2002.          High-speed modems will drop the CTS line when their 
  2003.          communication buffers are full. Previous Modems ignored  
  2004.          the RTS/CTS signals and instead used the DTR/DCE pair. What 
  2005.          this means is that if you buy a new modem, it might not work 
  2006.          with the older-cable (yet at the same time the older modem 
  2007.          will work..which might lead you to believe that you have a 
  2008.          defective modem).      
  2009.          
  2010.          6.6 Quirks with Some Modems     
  2011.          ---------------------------      
  2012.          Carrier tests - Some Modems have two "AT" instruction sets, 
  2013.          usually referred to as Compatible and Enhanced. If your 
  2014.          modem does not perform a carrier test at speeds below 4800, 
  2015.          then this is usually the case. Some modems provide a dip-
  2016.          switch or a toggle switch to select either mode. Setting 
  2017.          your modem to the Standard Compatible Mode should get rid   
  2018.          of your problems below 4800 bps. Also, make sure you select 
  2019.          the Generic Compatible Modem Driver unless you are sure your 
  2020.          modem matches the modem's that have special drivers written 
  2021.          especially for their use. At speeds above 4800 bps, the 
  2022.          Modem Doctor is only compatible with USR V.32, Dual 
  2023.          Standards (V.32 and HST) and HST brand of modems. If you 
  2024.          wish to test another brand of modem that is not compatible, 
  2025.          simply turn off any modem-hardware error correcting using 
  2026.          the Manual mode and following the information in your modem 
  2027.          users manual. Then select the Generic Modem Driver and you 
  2028.          should be able to test   your modem properly. Finally, if 
  2029.          only one of the tests (Originate or Answer) runs and NO      
  2030.          CARRIER is displayed for the other, the problem lies with 
  2031.          the Enhanced Command settings of your modem. Hayes Modems 
  2032.          use &T1 through &T8 commands for their 2400 and also have 
  2033.          
  2034.          The Modem Doctor Version 3.0 Documentation           Page 38
  2035.          Copyright (c) Hank Volpe 1989,1990
  2036.          
  2037.          other special switches. The &T0 command set is tried by this 
  2038.          version of the Modem Doctor automatically, however there is 
  2039.          no compensation for any other type of modems that use      
  2040.          non-standard commands. Again for the sake of compatibility 
  2041.          with the widest range of modems at speeds below 4800, this 
  2042.          cannot be corrected for in this version. Considering the 
  2043.          vast numbers of "AT" compatible modems in the      
  2044.          marketplace, these two exceptions are minor and will not 
  2045.          affect most users. Finally, users of 8250 compatible UARTS 
  2046.          that do not support the Digital (Chip) Loopback will get an 
  2047.          error. This should be of no concern.  However if the test 
  2048.          runs for a while, then fails, it could indicate a      
  2049.          problem with your UART. This is explained in the pull-down 
  2050.          window in the program. The Modem Doctor has been tested on 
  2051.          about 25 Modems from Major Manufacturers and on a variety of 
  2052.          Clones and Compatibles (plus the "Real Thing"). It is 
  2053.          possible that a certain combination of hardware still might 
  2054.          give problems, however if you are a registered user, I will  
  2055.          find a way to make it work.   
  2056.          
  2057.          
  2058.          Section 7. Benefits of Registration     
  2059.          ------------------------------------      
  2060.          Thank you for your registration. The Current Registered 
  2061.          Version # of the Modem Doctor is 3.0R. All Registered Users 
  2062.          are entitled to free Maintenance updates and these will be 
  2063.          reflected by changes in the decimal fraction number..ie 
  2064.          3.01, 3.02. Also, if a new super-duper version comes out 
  2065.          (4.X or 5.X), all registered users will be able to update 
  2066.          for only $5 (plus $ 2 for shipping,handling plus tax where 
  2067.          applicable). If you have trouble with the Modem Doctor, or 
  2068.          questions, feel free to call or write. When doing either you 
  2069.          will need to have the Version Number, your serial number, 
  2070.          and in some cases the Module Identification Number. The 
  2071.          Version number is displayed when you first start the program 
  2072.          along with the serial Number. The Module Identification 
  2073.          Numbers can be displayed at any time from the main menu 
  2074.          after you pass the initial setup mode. Simply type a # sign, 
  2075.          and all of the modules that make up the Modem Doctor will 
  2076.          display their version numbers on the screen. Right now, all 
  2077.          Modules have identical version numbers from program to      
  2078.          program, but in the future, there could be custom modules 
  2079.          for registered users, so in this case the Module ID could 
  2080.          become important. You can reach us with your questions at 
  2081.          716-694-7484 or write to ;
  2082.                                    Hank Volpe
  2083.                               108 Broadmoor Drive
  2084.                             Tonawanda NY 14150     
  2085.          
  2086.          Thanks again for registering the Modem Doctor.
  2087.          
  2088.          The Modem Doctor Version 3.0 Documentation           Page 39
  2089.          Copyright (c) Hank Volpe 1989,1990
  2090.          
  2091.          
  2092.          Notes -     [+] References to USR /Courier/Dual Standard/HST
  2093.                      Copyrighted by US Robotics     
  2094.          
  2095.          [++] References to AT Instruction Set ,Smartmodem,Hayes
  2096.               Copyrighted by Hayes Inc.
  2097.          
  2098.          References to MNP refer to An error free protocol 
  2099.          Copyrighted by Microcom Inc.       
  2100.          
  2101.          
  2102.          Disclaimer -  It is not the intent of the Author to 
  2103.          recommend any brand of modem over another nor to infringe on 
  2104.          the Copyrights of the Manufacturers by mentioning their 
  2105.          products. A modem fits a need, and whatever one works for 
  2106.          you is the one you should have. As time goes on, more     
  2107.          modems will be added to the list of "special enhanced " 
  2108.          tests. The modems mentioned are done so only because of the 
  2109.          popularity they enjoy and for no other reason. 
  2110.          
  2111.          
  2112.          The Modem Doctor Version 3.0 Documentation           Page 40
  2113.          Copyright (c) Hank Volpe 1989,1990
  2114.          
  2115.          Modem Doctor History
  2116.          
  2117.          Ver 3.0 - New tests added for 16450/16550/16550AN Uarts.
  2118.                    Improved Control-Abort handling, Regs command now 
  2119.                    performs a full diagnostic call when activated. 
  2120.                    Hot-Keys added (Force Micro, Baud Rate Select). 
  2121.                    Modem Driver software added to program, Status Bar 
  2122.                    added to program. Support for IRQ 3,4,5,7 added 
  2123.                    via COM1 through COM8 log-ins. Speed increased to 
  2124.                    38.4KB. /S Command line option added for setup of 
  2125.                    a modem including batch file errorlevel support. 
  2126.                    Escape key functionality added to Carrier Tests 
  2127.                    and the loopback tests.
  2128.                    
  2129.                    
  2130.          Ver 2.2 - Corrects a bug in Ver 2.1 Communication routines
  2131.                    that caused some modems to lock-out because they 
  2132.                    were waiting for two carriage returns to begin. 
  2133.                    Also it added 4 diagnostic Uart tests
  2134.          
  2135.          Ver 2.1 - This version was a Beta test. A Beta tester 
  2136.                    accidentally uploaded this to several boards. 
  2137.                    Please remove all Ver 2.1S software that you may 
  2138.                    find.
  2139.          
  2140.          Ver 2.0 - This version also was a Beta test with support
  2141.                    for COM1-2 and 2400 bps maximum
  2142.          
  2143.          Ver 1.0 - First test version
  2144.